This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 64-bit gdb 5.3 on Solaris
- From: Christian Joensson <c dot christian dot joensson at telia dot com>
- To: Mikhail Teterin <mi+gdb at aldan dot algebra dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Sat, 22 Mar 2003 13:50:31 +0100
- Subject: Re: 64-bit gdb 5.3 on Solaris
- References: <200303111447.38020.mi+gdb@aldan.algebra.com>
On Tue, Mar 11, 2003 at 02:47:38PM -0500, Mikhail Teterin wrote:
> 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!
>
did you get any reponse?
Idm actually more interesetd in having a working gdb-5.3 (or CVS HEAD)
for sparc64-linux, but any clues on this might be helpful for the
sparc64-linux target also I guess.
Cheers,
/ChJ