From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: GDB on SGI Irix 6.5 Date: Wed, 18 Apr 2001 09:29:00 -0000 Message-id: References: <3ADC5F92.66959A44@cygnus.com> X-SW-Source: 2001-04/msg00132.html 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?