This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: build/2458: GDB configured for cross target can not readdebug info in elf file
- From: "Robert Trask" <rtrask at broadcom dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 14 May 2008 19:18:02 -0000
- Subject: Re: build/2458: GDB configured for cross target can not readdebug info in elf file
- Reply-to: "Robert Trask" <rtrask at broadcom dot com>
The following reply was made to PR build/2458; it has been noted by GNATS.
From: "Robert Trask" <rtrask@broadcom.com>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: build/2458: GDB configured for cross target can not read
debug info in elf file
Date: Wed, 14 May 2008 12:09:50 -0700
Followup:
Rebuilding the target's elf file with the -g flag, do not use -gstabs
Result:
The cross gdb CAN read debug info from the elf file. Now it can properly
handle (e.g.) "list <symbol>".
What's different between output of "-gstabs" and "-g" to cause this?
R.