[binutils-gdb] Fix typos in binutils/dwarf.c

Vladimir Mezentsev vmezents@sourceware.org
Mon Jun 30 07:29:27 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=88c66eca24b5fae7d411a2dda342e5a87f4a2d72

commit 88c66eca24b5fae7d411a2dda342e5a87f4a2d72
Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
Date:   Sun Jun 29 16:45:13 2025 -0700

    Fix typos in binutils/dwarf.c
    
    binutils/ChangeLog
    2025-06-29  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>
    
            * dwarf.c: Change "/usrlib64/debug/usr" to "/usr/lib64/debug/usr/" and
            .gun_debugaltlink to .gnu_debugaltlink.

Diff:
---
 binutils/dwarf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 5b3ece58c8b..8806cde2044 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -10930,7 +10930,7 @@ display_debug_links (struct dwarf_section *  section,
       (padding)   If needed to reach a 4 byte boundary.
       (uint32_t)  CRC32 value.
 
-    The .gun_debugaltlink section is formatted as:
+    The .gnu_debugaltlink section is formatted as:
       (c-string)  Filename.
       (binary)    Build-ID.  */
 
@@ -12330,7 +12330,7 @@ load_build_id_debug_file (const char * main_filename ATTRIBUTE_UNUSED, void * ma
 		      + strlen (".debug")
 		      /* The next string should be the same as the longest
 			 name found in the prefixes[] array below.  */
-		      + strlen ("/usrlib64/debug/usr")
+		      + strlen ("/usr/lib64/debug/usr/")
 		      + 1);
   void * handle;
 
@@ -12341,7 +12341,7 @@ load_build_id_debug_file (const char * main_filename ATTRIBUTE_UNUSED, void * ma
       "/usr/lib/debug/",
       "/usr/lib/debug/usr/",
       "/usr/lib64/debug/",
-      "/usr/lib64/debug/usr"
+      "/usr/lib64/debug/usr/"
     };
   long unsigned int i;


More information about the Binutils-cvs mailing list