This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/3, nios2] use PTRACE_GETREGSET/SETREGSET in gdbserver
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Tue, 28 Apr 2015 12:18:04 +0100
- Subject: Re: [patch 2/3, nios2] use PTRACE_GETREGSET/SETREGSET in gdbserver
- Authentication-results: sourceware.org; auth=none
- References: <55393E8C dot 8090804 at codesourcery dot com> <55393FFE dot 80009 at codesourcery dot com>
Sandra Loosemore <sandra@codesourcery.com> writes:
> When glibc support for nios2 was submitted upstream, we were asked to
> change the ptrace register query interface from
> PTRACE_GETREGS/PTRACE_SETREGS to
> PTRACE_GETREGSET/PTRACE_SETREGSET. This patch makes the corresponding
> change to gdbserver (there is no native GDB support for this target
> yet).
Hi Sandra,
Could you show me the discussion archive about ptrace interface change
request?
>
> diff --git a/gdb/gdbserver/linux-nios2-low.c b/gdb/gdbserver/linux-nios2-low.c
> index e2fbb89..7bd3c97 100644
> --- a/gdb/gdbserver/linux-nios2-low.c
> +++ b/gdb/gdbserver/linux-nios2-low.c
> @@ -21,6 +21,7 @@
>
> #include "server.h"
> #include "linux-low.h"
> +#include "elf/common.h"
The new include should be mentioned in the ChangeLog entry.
--
Yao (éå)