https://sourceware.org/bugzilla/show_bug.cgi?id=23389

            Bug ID: 23389
           Summary: Have objdump and addr2line retrieve symbols from
                    separate debuginfo files
           Product: binutils
           Version: 2.32 (HEAD)
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: nickc at redhat dot com
  Target Milestone: 2.32

When disassembling code, objdump does not retrieve symbols from separate
debuginfo files.  This leads to less useful when compared to gdb.  For
example:

$ objdump -d --reloc /bin/omping | grep -9 401820:

  4017f8:       e9 9e fd ff ff          jmpq   40159b <socket@plt+0x1cb>
  4017fd:       48 8d 35 dc a5 00 00    lea    0xa5dc(%rip),%rsi

$ gdb /bin/omping
…
(gdb) disassemble 0x401820
Dump of assembler code for function _start:
   0x0000000000401820 <+0>:     xor    %ebp,%ebp
   0x0000000000401822 <+2>:     mov    %rdx,%r9

Addr2line has a similar restriction in that it too does not follow links to
separate debuginfo files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to