This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][patch 3/9] export hooks mechanism to Python
- From: Tom Tromey <tromey at redhat dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>, gdb-patches at sourceware dot org
- Date: Sun, 25 May 2008 14:39:19 -0600
- Subject: Re: [RFC][patch 3/9] export hooks mechanism to Python
- References: <20080429155212.444237503@br.ibm.com> <20080429155304.641779989@br.ibm.com> <m3wsmgxw5i.fsf@fleche.redhat.com> <20080430162140.GA3801@adacore.com> <m3skx3w28c.fsf@fleche.redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> Since you need to be able to write some python code that "reacts to
Joel> *GDB events*", I think that observers are exactly what you are looking
Joel> for.
Tom> Thanks, I will look at that.
In case anybody is wondering about the status of this, today I changed
the Python support to use observers rather than events. I deleted
some old event-based stuff that I think was not in use, and added a
couple observers.
Tom