This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB on SGI Irix 6.5
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: GDB on SGI Irix 6.5
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Wed, 18 Apr 2001 19:31:42 +0300 (IDT)
- cc: gdb at sources dot redhat dot com
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?