Re: [patch] Support inferior events in python

Eli Zaretskii
2011-01-04T18:22:57Z

> 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