This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: WIP: Register doco
On Mon, Jul 22, 2002 at 12:38:06PM -0400, Andrew Cagney wrote:
> >
> >"Typically" doesn't seem terribly useful... especially when debugging
> >through a monitor rather than ptrace. I just worked on a GDB port to
> >an architecture which does not do this (and let me tell you, it's
> >awkward to deal with in GDB. It will be much easier when some more of
> >your regcache work is finished.). The frame code had to figure out
> >where in the register file to find the registers for the current (or
> >any other) frame.
>
> Outch! BTW, typically == to the best of my knowledge all register
> windows targets (ignoring the m88k).
The target I'm working with used to do this; but it was somewhat
undesirable from an architecture standpoint. So we moved the support
into GDB. If I had a better register cache (the port was done vs 5.2,
which was almost but not quite there), it would have been almost
painless.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer