This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3] Enable 'set print inferior-events' and improve detach/fork/kill/exit messages
- From: Pedro Alves <palves at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>, GDB Patches <gdb-patches at sourceware dot org>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Date: Mon, 26 Mar 2018 12:43:52 +0100
- Subject: Re: [PATCH v3] Enable 'set print inferior-events' and improve detach/fork/kill/exit messages
- References: <20180124194714.26222-1-sergiodj@redhat.com> <20180309215548.29639-1-sergiodj@redhat.com> <a036d7a8-cf74-d3a3-6763-14c77217e533@redhat.com>
On 03/26/2018 11:58 AM, Pedro Alves wrote:
> On 03/09/2018 09:55 PM, Sergio Durigan Junior wrote:
>
>> But if we use 'add_thread_silent' (with the same configuration as
>> before):
>>
>> (gdb) run
>> Starting program: a.out
>> [Attaching after process 26807 fork to child process 26807.]
BTW, those two PIDs being the same looks suspicious. Is that
another instance of a parent vs child mixup? Or is that the case
that is fixed by the patch?
Thanks,
Pedro Alves