This is the mail archive of the gdb-prs@sourceware.org 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: build/2458: GDB configured for cross target can not readdebug info in elf file


The following reply was made to PR build/2458; it has been noted by GNATS.

From: "Robert Trask" <rtrask@broadcom.com>
To: "Daniel Jacobowitz" <drow@false.org>,
	gdb-gnats@sourceware.org
Cc:  
Subject: RE: build/2458: GDB configured for cross target can not read
 debug info in elf file
Date: Wed, 14 May 2008 13:26:43 -0700

 Thanks for responding. It looks like we should just use the "-g" and be
 happy about it.
 But it's mysterious that the same gdb sources config'd for (e.g.) native
 use CAN read the stabs info and the gdb sources config'd for cross-ARM
 can't. Reading symbol names & locations, debug info, etc from an elf
 file [should be] a common utility across all targets.  Is it not?
 
 R.
 
 -----Original Message-----
 From: Daniel Jacobowitz [mailto:drow@false.org]=20
 Sent: Wednesday, May 14, 2008 12:27 PM
 To: Robert Trask; gdb-gnats@sourceware.org
 Subject: Re: build/2458: GDB configured for cross target can not read
 debug info in elf file
 
 On Wed, May 14, 2008 at 07:18:02PM -0000, Robert Trask wrote:
 >  Result:
 >  The cross gdb CAN read debug info from the elf file. Now it can=20
 > properly  handle (e.g.) "list <symbol>".
 >  What's different between output of "-gstabs" and "-g" to cause this?
 
 -g uses DWARF-2, a more modern debug info format.
 
 --
 Daniel Jacobowitz
 CodeSourcery
 
 


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