[patch 2/3, nios2] use PTRACE_GETREGSET/SETREGSET in gdbserver
Yao Qi
qiyaoltc@gmail.com
Tue Apr 28 11:29:00 GMT 2015
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 (齐尧)
More information about the Gdb-patches
mailing list