bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/31605] New: [readelf, -wL] Highlight empty address range


From: vries at gcc dot gnu.org
Subject: [Bug binutils/31605] New: [readelf, -wL] Highlight empty address range
Date: Thu, 04 Apr 2024 15:28:06 +0000

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

            Bug ID: 31605
           Summary: [readelf, -wL] Highlight empty address range
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Consider gdb test-case gdb.dwarf2/dw2-epilogue-begin.exp.

With readelf -wL <exec>, we have:
...
File name                    Line number    Starting address    View    Stmt

dw2-epilogue-begin.c                  44            0x4101e8               x
dw2-epilogue-begin.c                  47            0x4101ec               x
dw2-epilogue-begin.c                   -            0x4101ec
...

The entry for line 47 has an empty address range (and consequently gdb ignores
it), but it's not obvious from the readelf output.

I wonder if making this clear somehow using an annotation would be a good idea.

Say:
...
File name                    Line number    Starting address    View    Stmt

dw2-epilogue-begin.c                  44            0x4101e8               x
dw2-epilogue-begin.c                  47           ~0x4101ec               x
dw2-epilogue-begin.c                   -            0x4101ec
...

Or displaying the address in parentheses.

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


reply via email to

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