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 - Python] New ObjFile event & GDB Async


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


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