[Bug binutils/23389] Have objdump and addr2line retrieve symbols from separate debuginfo files
https://sourceware.org/bugzilla/show_bug.cgi?id=23389 --- Comment #3 from H.J. Lu --- (In reply to Nick Clifton from comment #2) > (In reply to H.J. Lu from comment #1) > > How are separate debuginfo files are encoded in the executable? > > Ah - there are three different ways > > 1. In a .gnu.debuglink section This should work. > 2. In a .gnu.altdebuglink section I didn't see this one. Does GDB work with this? > and > > 3. Via the DW_AT_GNU_dwo_name, DW_AT_dwo_name, DW_AT_GNU_dwo_id > and DW_AT_comp_dir DWARF attributes. This is PR 22434. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23389] Have objdump and addr2line retrieve symbols from separate debuginfo files
https://sourceware.org/bugzilla/show_bug.cgi?id=23389 --- Comment #2 from Nick Clifton --- (In reply to H.J. Lu from comment #1) > How are separate debuginfo files are encoded in the executable? Ah - there are three different ways 1. In a .gnu.debuglink section 2. In a .gnu.altdebuglink section and 3. Via the DW_AT_GNU_dwo_name, DW_AT_dwo_name, DW_AT_GNU_dwo_id and DW_AT_comp_dir DWARF attributes. There is code in binutils/dwarf.c that handles all three, plus some support in bfd/opncls.c as well. Then there is the problem of locating these files, even given the information from these places. There are lots of places to look and different execution environments can provide different, extra, locations as well. A bit of nightmare really. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23389] Have objdump and addr2line retrieve symbols from separate debuginfo files
https://sourceware.org/bugzilla/show_bug.cgi?id=23389 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #1 from H.J. Lu --- How separate debuginfo files are encoded in the executable? -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils