]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/ChangeLog
[binutils] Print DWO ID
authorTom de Vries <tdevries@suse.de>
Fri, 12 Feb 2021 03:43:03 +0000 (04:43 +0100)
committerTom de Vries <tdevries@suse.de>
Fri, 12 Feb 2021 03:43:03 +0000 (04:43 +0100)
commitd60f79984aecd7f72de6fdf2015100a7516c9ee2
treec8f89c0d52ca23e981f3abd6791e5293a5d2220a
parenta5a310d6169ff2c47175294c901f3706f62692a8
[binutils] Print DWO ID

With exec:
...
$ gcc -gsplit-dwarf ~/hello.c -gdwarf-5
...
a dwarf-5 DW_UT_skeleton CU is generated, but the corresponding DWO ID is not
printed by readelf -wi.

Add this, such that we have:
....
   Compilation Unit @ offset 0xc7:
    Length:        0x31 (32-bit)
    Version:       5
    Unit Type:     DW_UT_skeleton (4)
    Abbrev Offset: 0x64
    Pointer Size:  8
+   DWO ID:        0x4756ae3ac4348f21
  <0><db>: Abbrev Number: 1 (DW_TAG_skeleton_unit)
...

binutils/ChangeLog:

2021-02-12  Tom de Vries  <tdevries@suse.de>

* dwarf.c (process_debug_info): Print DWO ID.
binutils/ChangeLog
binutils/dwarf.c