This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Always print "Detaching after fork from child..."
On 01/25/2018 08:20 PM, Sergio Durigan Junior wrote:
> On Thursday, January 25 2018, Pedro Alves wrote:
>> But we can fix that, I think. See a quick straw-man patch below.
>> (Really just a a straw-man; there's more redundancy if you do "follow-fork child",
>> for example.)
>
> Thanks for the reply and the patch. It is my understanding that you
> would like it to be extended in order to avoid redundancy in other
> cases. I will take a look at it.
Yes, if this is the direction to go then we'll need to make sure
that the output of both "set print inferior-events off/on" looks
reasonable in the multiple use cases that spawn / attach /
fork / detach / kill etc. inferiors, with both native and
remote debugging.
Thanks,
Pedro Alves