This is the mail archive of the
mailing list for the GDB project.
Re: [RFC][patch 3/9] export hooks mechanism to Python
On Sun, Jun 15, 2008 at 04:35:19PM -0600, Tom Tromey wrote:
> Funnily enough I was just thinking about this code today.
> In particular I was wondering if we ought to expose observers to
> Python more directly -- say by having a generic way for a Python
> object to register with a given observer.
I don't think that's a good idea; it ties the Python exposed
interfaces too closely to GDB's internal interfaces. I don't want
hacking on GDB to break Python programs unexpectedly.