]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Have gdb.ThreadExitedEvent inherit from gdb.ThreadEvent
authorTom Tromey <tromey@adacore.com>
Wed, 17 Sep 2025 14:49:27 +0000 (08:49 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 18 Sep 2025 14:07:49 +0000 (08:07 -0600)
commit3a9f5df6ea8adcae7769f271cccbc2da8553c08d
tree4ef2a6f4070fc44523d4f1d96e975bc351ee7d41
parent727ee2e293d504d687796ab871a7215a10d086d9
Have gdb.ThreadExitedEvent inherit from gdb.ThreadEvent

The documentation says that ThreadExitedEvent is derived from
ThreadEvent, but the code does not actually implement this.

This patch fixes the problem.  I propose applying this to gdb 17 as
well.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33444
Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/python/py-event-types.def
gdb/testsuite/gdb.python/py-thread-exited.py