This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA v2 7/8] Allow breakpoint commands to be set from Python


> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>
> Date: Wed, 25 Apr 2018 09:41:32 -0600
> 
> This changes the Python API so that breakpoint commands can be set by
> writing to the "commands" attribute.
> 
> gdb/ChangeLog
> 2018-04-25  Tom Tromey  <tom@tromey.com>
> 
> 	PR python/22731:
> 	* NEWS: Mention that breakpoint commands are writable.
> 	* python/py-breakpoint.c (bppy_set_commands): New function.
> 	(breakpoint_object_getset) <"commands">: Use it.
> 
> gdb/doc/ChangeLog
> 2018-04-25  Tom Tromey  <tom@tromey.com>
> 
> 	PR python/22731:
> 	* python.texi (Breakpoints In Python): Mention that "commands" is
> 	writable.
> 
> gdb/testsuite/ChangeLog
> 2018-04-25  Tom Tromey  <tom@tromey.com>
> 
> 	PR python/22731:
> 	* gdb.python/py-breakpoint.exp: Test setting breakpoint commands.

OK for the documentation parts.

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]