Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* ia64 register cache (not!)
@ 2006-02-09 12:30 David Lecomber
  2006-02-09 14:16 ` M.M. Kettenis
  0 siblings, 1 reply; 4+ messages in thread
From: David Lecomber @ 2006-02-09 12:30 UTC (permalink / raw)
  To: gdb



Dear all,

The ia64 (on suse9.3) of gdb seems to not use the PTRACE_GETREGS, but 
goes fetching each register in turn.  This seems a bit crazy, and the 
source of some very slow behaviour (given the number of ia64 registers!).

There seems to be some source that was intended to handle the GETREGS 
but is probably not being called (ia64-linux-nat.c).

When I debug, gdb is definitely calling the fetch_inferior_registers
defined inside infptrace.c (btw, this is GDB from June'05, but it seems 
that the excessive ptrace behaviour is the same in most recent CVS too)..  

Anyone have an idea why it's this way?  I've watched how gdb handles the
i386 version -- going off into fetch_inferior_registers in i386-linux-nat.c.

d.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-09 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-09 12:30 ia64 register cache (not!) David Lecomber
2006-02-09 14:16 ` M.M. Kettenis
2006-02-09 14:19   ` Daniel Jacobowitz
2006-02-09 14:40     ` David Lecomber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox