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: [patch] Support inferior events in python


> 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


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