Re: [RFC][patch 3/9] export hooks mechanism to Python

Tom Tromey
2008-06-23T17:27:32Z

>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

>> Observers look like a useful feature in GDB to be used by scripts,
>> IMHO we should think about ways to make it available to python, and consider
>> turning it into a stable exported interface...

Joel> Exposing some events to Python sounds pretty reasonable, but I also
Joel> prefer if we did not expose the observers directly, for the reasons
Joel> that Daniel explained. The event at the Python would be very well
Joel> defined and (hopefully) stable while we are free to modify the observers.

FWIW we talked about this at the Summit and my understanding is that
we agreed there should be some "buffering" between raw observers and
Python code.

BTW, Thiago, this patch is a bit obsolete since I moved breakpoint
observer registration directly into python/breakpoint.c.

Tom