This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

64-bit gdb 5.3 on Solaris


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]