This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][SPARC] Fix single-stepping in syscalls other than sigreturn
- From: jose dot marchesi at oracle dot com (Jose E. Marchesi)
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 29 Jan 2014 16:31:39 +0100
- Subject: Re: [PATCH][SPARC] Fix single-stepping in syscalls other than sigreturn
- Authentication-results: sourceware.org; auth=none
- References: <87y51yu8sr dot fsf at oracle dot com> <201401291518 dot s0TFI48L024670 at glazunov dot sibelius dot xs4all dot nl>
> From: jose.marchesi@oracle.com (Jose E. Marchesi)
> Date: Wed, 29 Jan 2014 16:06:28 +0100
>
> [Continuing http://sourceware.org/ml/gdb-patches/2013-09/msg00817.html]
>
> Improved patch including a testcase and also some minor changes in the
> changelog entry.
>
> 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
>
> * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
> the sigreturn register save area only if the syscall is
> sigreturn.
>
> 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
>
> * gdb.arch/sparc-sysstep.exp: New file.
> * gdb.arch/sparc-sysstep.c: Likewise.
>
> * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
Having a test case is good!
Given that David Miller hasn't objected, feel free to go ahead and
commit this.
Committed, thanks.