From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15084 invoked by alias); 4 Jan 2011 18:22:57 -0000 Received: (qmail 15063 invoked by uid 22791); 4 Jan 2011 18:22:55 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 04 Jan 2011 18:22:50 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LEI00M00G4AUI00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Tue, 04 Jan 2011 20:22:47 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.127.157]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LEI00K4DGDWORK0@a-mtaout20.012.net.il>; Tue, 04 Jan 2011 20:22:46 +0200 (IST) Date: Tue, 04 Jan 2011 18:22:00 -0000 From: Eli Zaretskii Subject: Re: [patch] Support inferior events in python In-reply-to: <4D2342A2.7060102@redhat.com> To: sami wagiaalla Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83zkrgmsuh.fsf@gnu.org> References: <4D2342A2.7060102@redhat.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00062.txt.bz2 > Date: Tue, 04 Jan 2011 10:54:10 -0500 > From: sami wagiaalla > > 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