[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/20876] objdump is not aware about the build ID method to f
From: |
doko at debian dot org |
Subject: |
[Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info |
Date: |
Wed, 11 Jan 2017 20:44:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20876
--- Comment #6 from Matthias Klose <doko at debian dot org> ---
applying this on top of your patch works for me. The global debug directory
doesn't have the dirname of the original file, so don't append `canon_dir'.
Not sure if that needs to be stripped from the tests with EXTRA_DEBUG_ROOT1 and
EXTRA_DEBUG_ROOT2 prefixes as well?
--- bfd/opncls.c~ 2017-01-11 20:29:07.061189932 +0100
+++ bfd/opncls.c 2017-01-11 21:39:51.211288793 +0100
@@ -1481,11 +1481,8 @@
/* Then try in the global debugfile directory. */
strcpy (debugfile, debug_file_directory);
dirlen = strlen (debug_file_directory) - 1;
- if (dirlen > 0
- && debug_file_directory[dirlen] != '/'
- && canon_dir[0] != '/')
+ if (dirlen > 0 && debug_file_directory[dirlen] != '/')
strcat (debugfile, "/");
- strcat (debugfile, canon_dir);
strcat (debugfile, base);
if (check_func (debugfile, crc32))
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/10
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, doko at debian dot org, 2017/01/10
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, mark at klomp dot org, 2017/01/11
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/11
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, doko at debian dot org, 2017/01/11
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info,
doko at debian dot org <=
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/12
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, doko at debian dot org, 2017/01/12
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, cvs-commit at gcc dot gnu.org, 2017/01/12
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/12
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, cvs-commit at gcc dot gnu.org, 2017/01/13
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/13