binutils/dwarf.c

Vladimir Mezentsev vladimir.mezentsev@oracle.com
Sun Jun 29 04:50:50 GMT 2025


% cat -n show binutils/dwarf.c
...
  12328      filename = xmalloc (strlen (".build-id/")
  12329                  + build_id_size * 2 + 2
  12330                  + strlen (".debug")
  12331                  /* The next string should be the same as the 
longest
  12332                 name found in the prefixes[] array below. */
  12333                  + strlen ("/usrlib64/debug/usr")

Should be:              + strlen ("/usr/lib64/debug/usr")


  12334                  + 1);
  12335      void * handle;
  12336
  12337      static const char * prefixes[] =
  12338        {
  12339          "",
  12340          ".debug/",
  12341          "/usr/lib/debug/",
  12342          "/usr/lib/debug/usr/",
  12343          "/usr/lib64/debug/",
  12344          "/usr/lib64/debug/usr"
  12345        };



More information about the Binutils mailing list