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

            Bug ID: 32538
           Summary: unexpected result with addr2line
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tools
          Assignee: unassigned at sourceware dot org
          Reporter: pangbw at gmail dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 15876
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15876&action=edit
a.out

The addr2line can return the filename and linenumber if specify the elf file
with "-e":

$ ./elfutils/src/addr2line -e a.out 0x1129
/home/bpang/tmp/t.c:1:11

But if not using "-e", it would fail to get the info:

$ ./elfutils/src/addr2line 0x1129
??:0

I think the result should be same for the two invoking. 

By the way, the addr2line from binutils works fine for the both cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to