This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Support inferior events in python
- From: Eli Zaretskii <eliz at gnu dot org>
- To: sami wagiaalla <swagiaal at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 04 Jan 2011 20:22:46 +0200
- Subject: Re: [patch] Support inferior events in python
- References: <4D2342A2.7060102@redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 04 Jan 2011 10:54:10 -0500
> From: sami wagiaalla <swagiaal@redhat.com>
>
> This patch is base on the work done by Oguz Kayral in the summer of
> 2009. Tom Tromey and Phil Muldoon also provided a lot of help and
> guidance on this.
>
> It adds to the python API the module 'gdb.events'. The events module
> contains references to event registries that one can add observers to.
> Namely,
> events.breakpoint
> events.signal
> events.cont
> events.exited
Thanks.
> --- a/gdb/Makefile.in
> +++ b/gdb/Makefile.in
> @@ -273,7 +273,13 @@ SUBDIR_PYTHON_OBS = \
> py-auto-load.o \
> py-block.o \
> py-breakpoint.o \
> + py-breakpointevent.o \
> py-cmd.o \
> + py-continueevent.o \
> + py-event.o \
> + py-eventregistry.o \
> + py-events.o \
> + py-exitedevent.o \
Can we perhaps avoid file-name clashes on DOS 8+3 filesystems, by
naming the new files slightly differently? For example:
py-breakpointevent.c => py-bpevent.c
py-eventregistry.c => py-evtregistry.c
py-events.c => py-evts.c