This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] PR python/15620, PR python/18620 - breakpoint events in Python
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 21 May 2016 00:18:11 +0300
- Subject: Re: [RFA] PR python/15620, PR python/18620 - breakpoint events in Python
- Authentication-results: sourceware.org; auth=none
- References: <1463777131-7289-1-git-send-email-tom at tromey dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>
> Date: Fri, 20 May 2016 14:45:31 -0600
>
> 2016-05-19 Tom Tromey <tom@tromey.com>
>
> PR python/15620, PR python/18620:
> * python/py-evts.c (gdbpy_initialize_py_events): Call
> add_new_registry for new events.
> * python/py-events.h (events_object) <breakpoint_created,
> breakpoint_deleted, breakpoint_modified>: New fields.
> * python/py-breakpoint.c (gdbpy_breakpoint_created): Emit the
> breakpoint changed event.
> (gdbpy_breakpoint_deleted): Emit the breakpoint deleted event.
> (gdbpy_breakpoint_modified): New function.
> (gdbpy_initialize_breakpoints): Attach to the breakpoint modified
> observer.
>
> 2016-05-20 Tom Tromey <tom@tromey.com>
>
> PR python/15620, PR python/18620:
> * python.texi (Events In Python): Document new breakpoint events.
>
> 2016-05-20 Tom Tromey <tom@tromey.com>
>
> PR python/15620, PR python/18620:
> * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
> (test_bkpt_events): New procs.
OK for the documentation part.
Thanks.