This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
64-bit gdb 5.3 on Solaris
- From: Mikhail Teterin <mi+gdb at aldan dot algebra dot com>
- To: gdb at sources dot redhat dot com
- Date: Tue, 11 Mar 2003 14:47:38 -0500
- Subject: 64-bit gdb 5.3 on Solaris
- Organization: Virtual Estates, Inc.
Hi!
I've just built the gdb-5.3 on Solaris, using Sun's native compiler
with
-xO3 -xstrconst -xarch=v9b
When trying to debug an executable, however, gdb complains at startup:
GNU gdb 5.3
Copyright 2002 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 "sparc64-sun-solaris2.8"...gdbarch.c:2619:
gdb-internal-error: gdbarch: gdbarch_num_regs invalid
An internal GDB error was detected. This may make further
debugging unreliable. Quit this debugging session? (y or n)
If I ask it to continue and type "run", it will die from a SEGFAULT.
Why is the gdbarch_num_regs busted? Thanks!
-mi