This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Thread exit messages on MS-Windows
- From: Eli Zaretskii <eliz at gnu dot org>
- To: asmwarrior <asmwarrior at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 27 Apr 2013 18:57:03 +0300
- Subject: Re: [RFA] Thread exit messages on MS-Windows
- References: <83obd1tyi7 dot fsf at gnu dot org> <838v44tnf8 dot fsf at gnu dot org> <517BD8F6 dot 8010806 at gmail dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sat, 27 Apr 2013 21:56:06 +0800
> From: asmwarrior <asmwarrior@gmail.com>
> CC: gdb-patches@sourceware.org
>
> I'm not sure it is the correct behavior under Windows.
> When debugging a single thread app, I do receive one New Thread message (for the main thread of the inferior), but there is not corresponding exit thread message report for this main thread. For multiply thread apps, the first New Thread messages has no corresponding exit messages, but other threads have both new and their corresponding exit messages.
This is on purpose: I think announcing the death of the main thread is
redundant, because it is always followed by this:
[Inferior 1 (process 4216) exited normally]