bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27371] [readelf] .debug_rnglists section header not parsed


From: vries at gcc dot gnu.org
Subject: [Bug binutils/27371] [readelf] .debug_rnglists section header not parsed
Date: Tue, 09 Feb 2021 14:36:07 +0000

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index d6eb8926dbf..9fc040555b4 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -7581,7 +7581,7 @@ display_debug_ranges (struct dwarf_section *section,
   unsigned char *finish = start + bytes;
   unsigned int num_range_list, i;
   struct range_entry *range_entries, *range_entry_fill;
-  int is_rnglists = strstr (section->name, "debug_rnglists") != NULL;
+  int is_rnglists = strstr (section->name, ".debug_rnglists") != NULL;
   /* Initialize it due to a false compiler warning.  */
   unsigned char address_size = 0;
   dwarf_vma last_offset = 0;

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