aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-11-03 07:33:24 -0600
committerTom Tromey <tromey@adacore.com>2021-11-03 07:33:24 -0600
commitdac784d0e4cb7255646ea298b39a5443055a4bb2 (patch)
tree69fc3645a7f64604923a0b66a80ed372f10f3460 /binutils/ChangeLog
parent7fd8546853e3f0333ba8d8238413aba7eb45c69f (diff)
downloadgdb-dac784d0e4cb7255646ea298b39a5443055a4bb2.zip
gdb-dac784d0e4cb7255646ea298b39a5443055a4bb2.tar.gz
gdb-dac784d0e4cb7255646ea298b39a5443055a4bb2.tar.bz2
Use section name in warnings in display_debug_loc
While looking at an apparently malformed executable with "readelf --debug-dump=loc", I got this warning: readelf: ./main: Warning: There is a hole [0x89 - 0x95] in .debug_loc section. However, the executable only has a .debug_loclists section. This patch fixes the warning messages in display_debug_loc to use the name of the section that is being processed. binutils/ChangeLog 2021-11-03 Tom Tromey <tromey@adacore.com> * dwarf.c (display_debug_loc): Use section name in warnings.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index efde928..3935b30 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2021-11-03 Tom Tromey <tromey@adacore.com>
+
+ * dwarf.c (display_debug_loc): Use section name in warnings.
+
2021-10-25 Nick Alcock <nick.alcock@oracle.com>
* objdump.c (usage): --ctf now has an optional argument.