This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/14704] New: GDB fails to decompress relocatable files
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 11 Oct 2012 19:09:32 +0000
- Subject: [Bug gdb/14704] New: GDB fails to decompress relocatable files
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14704
Bug #: 14704
Summary: GDB fails to decompress relocatable files
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: hjl.tools@gmail.com
Classification: Unclassified
[hjl@gnu-tools-1 tmp]$ cat x.c
void bar ();
int
main ()
{
bar ();
return 0;
}
[hjl@gnu-tools-1 tmp]$ gcc -g x.c -c
[hjl@gnu-tools-1 tmp]$ objcopy --compress-debug-sections x.o
[hjl@gnu-tools-1 tmp]$ gdb --batch x.o
Dwarf Error: wrong version in compilation unit header (is 0, should be 2, 3, or
4) [in module /tmp/x.o]
[hjl@gnu-tools-1 tmp]$ objcopy --decompress-debug-sections x.o
[hjl@gnu-tools-1 tmp]$ gdb --batch x.o
[hjl@gnu-tools-1 tmp]$
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.