This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: ia64 register cache (not!)
- From: Daniel Jacobowitz <drow at false dot org>
- To: "M.M. Kettenis" <m dot m dot kettenis at alumnus dot utwente dot nl>
- Cc: David Lecomber <david at lecomber dot net>, gdb at sources dot redhat dot com
- Date: Thu, 9 Feb 2006 09:19:41 -0500
- Subject: Re: ia64 register cache (not!)
- References: <20060209123032.GA10585@streamline-computing.com> <7323515135308169@webhare>
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