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

            Bug ID: 21978
           Summary: objdump does not display line numbers in certain cases
           Product: binutils
           Version: 2.28
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: m101010a at gmail dot com
  Target Milestone: ---

Created attachment 10354
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10354&action=edit
Shell script for reproducing the issue

If I have 2 files in a single binary and the binary is laid out such that code
on line N of file 1 is immediately followed by code on line N of file 2,
objdump will not print the path to file 2.  The attached shell script will
reproduce the issue.

When disassembling, objdump will print "/tmp/x.c:1" before displaying f1, but
will not print "/tmp/y.c:1" before displaying f2.  Both lines should be
printed, since they are different.

-- 
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