public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/14704] New: GDB fails to decompress relocatable files
@ 2012-10-11 19:09 hjl.tools at gmail dot com
  2012-10-11 23:12 ` [Bug gdb/14704] " dje at google dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2012-10-11 19:09 UTC (permalink / raw)
  To: gdb-prs


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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-11-08 19:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-11 19:09 [Bug gdb/14704] New: GDB fails to decompress relocatable files hjl.tools at gmail dot com
2012-10-11 23:12 ` [Bug gdb/14704] " dje at google dot com
2012-10-15 17:45 ` tromey at redhat dot com
2012-10-15 18:15 ` tromey at redhat dot com
2012-10-15 20:45 ` hjl.tools at gmail dot com
2012-10-15 20:49 ` hjl.tools at gmail dot com
2012-10-16 18:06 ` tromey at redhat dot com
2012-10-16 18:17 ` tromey at redhat dot com
2012-11-08 19:52 ` cvs-commit at gcc dot gnu.org
2012-11-08 19:53 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).