This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Exposing inferior_created in Python
On 14/03/13 04:18, Gareth McMullin wrote:
> Hi
>
> I'm interested in having the inferior_created observer exposed as a
> Python event
I think it is fine to create event and observers in GDB/Python that
you have identified a need for.
That being said, what do you mean by inferior_created event?
Currently we have observers in the Python API for:
* Breakpoint events
* Continue events.
* Exiting events
* New object file events
* Signal events
* Inferior halting/stopping events
* Thread events
Would the thread event/observer satisfy your use-case? I am pretty
much guessing, though, until you can expand on the inferior_created
case.
Cheers
Phil