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
Zitat von Daniel Jacobowitz <drow@false.org>:
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.
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...
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center