This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 01/23] Fix gdb.base/sigstep.exp with displaced stepping on software single-step targets
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 10 Apr 2015 10:56:35 +0100
- Subject: Re: [PATCH v2 01/23] Fix gdb.base/sigstep.exp with displaced stepping on software single-step targets
- Authentication-results: sourceware.org; auth=none
- References: <1428410990-28560-1-git-send-email-palves at redhat dot com> <1428410990-28560-2-git-send-email-palves at redhat dot com>
On 04/07/2015 01:49 PM, Pedro Alves wrote:
> TL;DR:
>
> When stepping over a breakpoint with displaced stepping, the core must
> be notified of all signals, otherwise the displaced step fixup code
> confuses a breakpoint trap in the signal handler for the expected trap
> indicating the displaced instruction was single-stepped
> normally/successfully.
I'm fairly sure this is correct. With Yao's extra testing, I'm
even more confident. I pushed this one in now.
Thanks,
Pedro Alves