ia64 register cache (not!)

Daniel Jacobowitz drow@false.org
Thu Feb 9 14:19:00 GMT 2006


On Thu, Feb 09, 2006 at 02:15:53PM +0000, M.M. Kettenis wrote:
> Are you sure the ia64 kernel supports the PTRACE_GETREGS/PTRACE_SETREGS
> requests?  If those are implemented someone really should add support
> for them.  Note that even if the current kernels do, there may be
> older kernels that don't have these.  A possible solution would be to
> use PTRACE_GETREGS if available and fall back on PTRACE_PEEK_USER if it
> isn't (that's what we do on Linux/i386).  But if kernels without
> PTRACE_GETREGS are no longer in widespread use, it's probably not
> worth bothering.

FYI, it wasn't in the very original ia64 port, but was added about four
years ago.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list