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: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, Sandra Loosemore <sandra at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 28 Apr 2015 12:24:12 +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> <86a8xswlg3 dot fsf at gmail dot com>
On 04/28/2015 12:18 PM, Yao Qi wrote:
> 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?
I don't know about a glibc discussion, but I'm to blame for requesting
that on the kernel side:
https://lkml.org/lkml/2014/4/25/683
Thanks,
Pedro Alves