[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PID-reuse races fix, introduced GCC validation brakage
From: |
Pedro Alves |
Subject: |
Re: PID-reuse races fix, introduced GCC validation brakage |
Date: |
Fri, 1 Apr 2016 15:15:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 04/01/2016 02:05 PM, Yvan Roux wrote:
> On 1 April 2016 at 00:07, Pedro Alves <address@hidden> wrote:
>> So, from an "exit-gracefully" perspective, what about having guality.h do
>> "handle SIGINT pass nostop" before the "attach" command, so that SIGINT
>> reaches the example.exe process, which should then exit and bring
>> down gdb with it? Same for SIGTERM.
>
> Yes, I agree that guality.h should be changed, but for handling
> SIGSEGV and maybe all the signals marked as stop, at least for the
> testcases which don't want to test signals.
Yeah. Except SIGTRAP, of course.
>
> Adding "handle SIGSEGV pass nostop print" works on that example, I'll
> do a full validation and submit it upstream.
Excellent.
Thanks,
Pedro Alves