This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: tdep/273: Funky error when running 64 bit application
- From: Mark Kettenis <kettenis at chello dot nl>
- To: kettenis at gnu dot org
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 4 Jan 2004 12:18:00 -0000
- Subject: Re: tdep/273: Funky error when running 64 bit application
- Reply-to: Mark Kettenis <kettenis at chello dot nl>
The following reply was made to PR tdep/273; it has been noted by GNATS.
From: Mark Kettenis <kettenis@chello.nl>
To: gdb-gnats@sources.redhat.com, ccroswhite@get2chip.com
Cc:
Subject: Re: tdep/273: Funky error when running 64 bit application
Date: Sun, 4 Jan 2004 13:13:15 +0100 (CET)
The SPARC target in GDB was recently greatly improved. This should
now work if:
1. You compile itself GDB as a 64-bit binary. To do this configure
with either:
CC="cc -xarch=v9" ./configure
if you're using the native, unbundled Sun compiler, or
CC="gcc -m64" ./configure
if you're using GCC that's capable of generating 64-bit binaries.
2. You compile your 64-bit programs using GCC. GDB can't handle the
64-bit stabs debugging information, and that's what the Sun
compilers produce. If you've got a recent Sun compiler, you might
want to try -xdebugformat=dwarf, but as they say YMMV.