[RFC - Python] New ObjFile event & GDB Async

Tom Tromey tromey@redhat.com
Tue Oct 4 15:24:00 GMT 2011


>>>>> "Kevin" == Kevin Pouget <kevin.pouget@gmail.com> writes:

Kevin> (the patch intends to provide a Python binding for the 'new
Kevin> objectfile' observer. There's nothing complicated in the code, just
Kevin> emit a new event upon observer notification, which triggers the Python
Kevin> function registered for this event)

Kevin> However, when I want to execute `gdb.execute("some function")` during
Kevin> the callback, the execution ends up in:
[...]

I don't know exactly what is going on here, but I think there are
situations where it is not safe to use gdb.execute.  We don't document
this right now, but we should; I think the problem is just that we don't
know all the cases.

Tom



More information about the Gdb-patches mailing list