[patch 2/3, nios2] use PTRACE_GETREGSET/SETREGSET in gdbserver
Sandra Loosemore
sandra@codesourcery.com
Tue Apr 28 15:27:00 GMT 2015
On 04/28/2015 05:24 AM, Pedro Alves wrote:
> 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, for digging this up; I was mis-remembering in thinking
that this change came from the glibc review. It indeed came from the
kernel submission instead.
-Sandra
More information about the Gdb-patches
mailing list