Announce thread death on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 May 2013 13:36:18 +0000 (13:36 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 May 2013 13:36:18 +0000 (13:36 +0000)
commite0ea48a0d7d1f20f2e40252119e0b8536785c28b
treee5916faaa1fee7a868995105c77e801e4fcc993a
parent2a0388c71ce369025fb0e6b9709539ca737837ee
Announce thread death on MS-Windows.

* windows-nat.c (windows_delete_thread): Accept an additional
argument, the thread's exit code, and announce thread death when
print_thread_events is non-zero and we are deleting a thread that
is not the main thread.
(get_windows_debug_event): Pass thread exit code to
windows_delete_thread.
gdb/ChangeLog
gdb/windows-nat.c