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]

[Bug gdb/14704] New: GDB fails to decompress relocatable files


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.


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