On 04/01/2016 02:05 PM, Yvan Roux wrote:
> On 1 April 2016 at 00:07, Pedro Alves <pal...@redhat.com> 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


_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to