GDB on SGI Irix 6.5
Eli Zaretskii
eliz@is.elta.co.il
Wed Apr 18 09:29:00 GMT 2001
On Tue, 17 Apr 2001, Andrew Cagney wrote:
> Hmm, I've this sinking feeling that, prior to me adding the assert() it
> was falling off the end of the regcache and just blatting memory :-/
>
> 72, I've this feeling that it is the ``FP'':
>
> ac131313@localhost$ grep 72 config/mips/tm-*
> config/mips/tm-mips.h:#define FP_REGNUM 72 /* Pseudo
> register that contains true address of executing stack frame */
>
> As a quick hack, pump up NUM_PSEUDO_REGS to make space for this (and
> possibly a few more).
Thanks for the hint.
However, this doesn't work: it again bumps into internal_error because
there's no gdbarch method for fetching pseudo registers. How would such
a method look for a target that doesn't have a frame pointer?
Also, strangely enough, tm-irix3.h does define a place for FP in the
registers array (at index 30). So why doesn't it define FP_REGNUM
accordingly?
More information about the Gdb
mailing list