From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Eli Zaretskii Cc: gdb@sources.redhat.com Subject: Re: GDB on SGI Irix 6.5 Date: Tue, 17 Apr 2001 10:38:00 -0000 Message-id: <3ADC5F92.66959A44@cygnus.com> References: X-SW-Source: 2001-04/msg00116.html Eli Zaretskii wrote: > > Did someone successfully build the current CVS version on Irix 6.5? If > so, are there any special tricks one need to be aware of to do that? > > I built GDB with "./configure; make" with the native C compiler and a > native Make. While it built okay, the resulting binary aborts at runtime > like this: 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). As a correct fix (ie don't try this at home :-). You could consider eliminating read_fp(), write_fp() and FP_REGNUM so that targets that didn't have a real FP register got the value from ``struct frame *''. Andrew