bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/4030] New: objdump ignores .gnu_debuglink


From: cebbert at redhat dot com
Subject: [Bug binutils/4030] New: objdump ignores .gnu_debuglink
Date: 12 Feb 2007 19:53:18 -0000

objdump does not use the .gnu_debuglink information to
find debug information for a stripped executable. This
means objdump -l does not produce line numbers when
disassembling even though the information is available.

$ gcc -g -o forkfork forkfork.c
$ objcopy --only-keep-debug forkfork forkfork.dbg
$ strip forkfork
$ objcopy --add-gnu-debuglink=forkfork.dbg forkfork
$ objdump -h forkfork

forkfork:     file format elf32-i386

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
<SNIP>
 24 .gnu_debuglink 00000014  00000000  00000000  000006f0  2**0
                  CONTENTS, READONLY
$ objdump -l forkfork
[no line numbers in disassembled main()]
$ objdump --version
GNU objdump 2.17.50.0.6-2.fc6 20061020

-- 
           Summary: objdump ignores .gnu_debuglink
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: cebbert at redhat dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: i386-redhat-linux


http://sourceware.org/bugzilla/show_bug.cgi?id=4030

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]