This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/2][master only] gdb/windows-nat.c: Get rid of main_thread_id global
On 4/22/19 4:23 PM, André Pönitz wrote:
> On Mon, Apr 22, 2019 at 03:24:46PM +0100, Pedro Alves wrote:
>> I don't see the asymmetry (silent at creation, not silent at destruction)
>> in this particular case as surprising [...]
>
> It's not surprising, but it's inconsistent
> and causes extra work in
> cases one wants to mechanically examine such output.
I'm curious about what extra work you're thinking of. Can't think of
anything significant.
But do note that this discussion does not affect MI.
So what do you propose? My proposal kept these two ideas in mind:
- be quiet wrt to threads with single-threaded programs.
- inform the user the main thread exited while other threads stay running.
Thanks,
Pedro Alves