Re: [patch v3 19/36] Hexagon: Add ptrace support

Pedro Alves
2011-09-10T11:29:57Z

On Saturday 10 September 2011 07:42:26, Jonas Bonn wrote:

> I'm really not an expert on GDB, but I believe it can use either the
> PEEK/POKE functions to access regs, or it can use GET/SETREGS; it's an
> architecture-dependent configuration. I think the second variant can
> be easily modified to become GET/SETREGSET instead, and the PEEK/POKE
> variant wouldn't be needed at all.

Yes, the x86/x86-64 ports or gdb and gdbserver are already
using GET/SETREGSET even.

--
Pedro Alves