This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc v2][rft (procfs, nto-procfs)] Fix signal bypass heuristic with software single-step
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Date: Mon, 4 Apr 2011 10:47:44 +0100
- Subject: Re: [rfc v2][rft (procfs, nto-procfs)] Fix signal bypass heuristic with software single-step
- References: <201103311911.p2VJBn27015944@d06av02.portsmouth.uk.ibm.com>
On Thursday 31 March 2011 20:11:49, Ulrich Weigand wrote:
> Pedro Alves wrote:
>
> > Might be we just need to check if _any_ thread is stepping, when
> > deciding whether to tell the target to report back all signals?
>
> I've thought about this a bit more. The primary cause why we need
> to tell the target to report back all signals is because we have
> pulled out breakpoints to step over one -- this is why running
> arbitrary signal handlers would be dangerous.
...
> Thoughts?
This makes sense to me. Thanks for thinking this through.
The patch looked okay to me.
--
Pedro Alves