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: [RFC][patch 3/9] export hooks mechanism to Python


>>>>> "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


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