[PATCH] Fix PR gdb/18653: gdb disturbs inferior's inherited signal dispositions

Pedro Alves palves@redhat.com
Fri Aug 5 01:04:00 GMT 2016


On 08/04/2016 07:37 PM, John Baldwin wrote:

> Perhaps consider saving/restore the entire 'struct sigaction' instead
> of just the sa_handler field given you are already requiring sigaction?

Indeed, I think I should, because signal masks are not reset
at exec time either.  Forgot about that.  Thanks for suggesting this.

I'll give it a try soon.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list