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: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: GDB on SGI Irix 6.5
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: 09 Apr 2001 09:53:12 -0400
- Cc: gdb at sources dot redhat dot com
- References: <Pine.SUN.3.91.1010409100338.27683O-100000@is>
Eli Zaretskii <eliz@is.elta.co.il> writes:
> 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:
>
> (src)gdb ./emacs
> GNU gdb 20010402
> Copyright 2001 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "mips-sgi-irix6.5"...
> Environment variable "DISPLAY" not defined.
> TERM = vt220
> Breakpoint 1 at 0x100ff7d0: file emacs.c, line 384.
> Breakpoint 2 at 0x100d8e18: file xterm.c, line 11714.
> (gdb) b main
> Breakpoint 3 at 0x100ffe48: file emacs.c, line 736.
> (gdb) r -q
> Starting program: /gnu/emacs-21/emacs-21.0.101/src/./emacs -q
> regcache.c:282: gdb-internal-error: Assertion `regnum >= 0 && regnum < (NUM_REGS + NUM_PSEUDO_REGS)' failed.
> An internal GDB error was detected. This may make further
> debugging unreliable. Continue this debugging session? (y or n)
>
> I've verified that this happens because legacy_read_register_gen is
> called with regnum = 72, while it doesn't expect any register to have a
> number greater than 71.
>
> Any clues?
This type of thing has been happening on IRIX for at least a year.
I remember getting a similar problem when I had an SGI machine for a
few months last year.
--
When I was little, my grandfather used to make me stand in a
closet for five minutes without moving. He said it was elevator
practice.