This is the mail archive of the gdb-prs@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]

Re: tdep/273: Funky error when running 64 bit application


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.
 


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