public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: John Baldwin <jhb@freebsd.org>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Fix PR gdb/18653: gdb disturbs inferior's inherited signal dispositions
Date: Fri, 05 Aug 2016 01:04:00 -0000	[thread overview]
Message-ID: <ab4e62e3-cdd0-3405-1599-0664413030a2@redhat.com> (raw)
In-Reply-To: <2148041.k6fglmTO5R@ralph.baldwin.cx>

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

  reply	other threads:[~2016-08-05  1:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 17:37 Pedro Alves
2016-08-05  0:08 ` John Baldwin
2016-08-05  1:04   ` Pedro Alves [this message]
2016-08-05 10:57     ` [PATCH v2] " Pedro Alves
2016-08-08 17:28       ` John Baldwin
2016-08-12  8:21       ` Yao Qi
2016-08-12  9:08         ` Pedro Alves
2016-08-22 14:28       ` Yao Qi
2016-08-22 14:34         ` Pedro Alves
2016-08-23 13:20           ` Yao Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab4e62e3-cdd0-3405-1599-0664413030a2@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jhb@freebsd.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).