Re: PID-reuse races fix, introduced GCC validation brakage

Pedro Alves <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
On 04/01/2016 02:05 PM, Yvan Roux wrote:
> On 1 April 2016 at 00:07, Pedro Alves <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.