This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ia64 register cache (not!)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]