This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 1/3] Add new_inferior, inferior_deleted, and new_thread events
Simon> I find the resulting documentation page about Python Events a bit hard
Simon> to follow. The "events.new_thread" event registry refers to the
Simon> gdb.ThreadEvent type, which itself is defined under the "events.cont"
Simon> registry. There it says that inferior_thread is always not None in
Simon> none-stop, and always None in all-stop. That is contradictory with
Simon> the text under "events.new_thread". If it is possible for event types
Simon> to be emitted by different event registries, I think they should be
Simon> documented separately (on the same page, but in two sections).
I can just make this not be a subclass of ThreadEvent and then clean up
the docs. Though, there's a PR open about ThreadEvent.inferior_thread
not being set in the all-stop case.
Tom