diff options
author | Mark Wielaard <mark@klomp.org> | 2020-09-23 16:48:35 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2020-09-24 23:13:13 +0200 |
commit | debd1a62c4d250a6257e9018d9f9c7355edcdf8b (patch) | |
tree | 58b3c683d7c21e0a50f568a3a7920af96d9a49da /binutils/testsuite | |
parent | d7b477c541bd31045483f37345727bd8335a052a (diff) | |
download | fsf-binutils-gdb-debd1a62c4d250a6257e9018d9f9c7355edcdf8b.zip fsf-binutils-gdb-debd1a62c4d250a6257e9018d9f9c7355edcdf8b.tar.gz fsf-binutils-gdb-debd1a62c4d250a6257e9018d9f9c7355edcdf8b.tar.bz2 |
readelf: Show Unit Type for DWARF5
binutils/ChangeLog:
* dwarf.c (process_debug_info): Print Unit Type for DWARF5.
* testsuite/binutils-all/dw5.W: Adjust expected output.
* testsuite/binutils-all/dwarf-attributes.W: Likewise.
gas/ChangeLog:
* testsuite/gas/elf/dwarf-5-cu.d: Adjust expected output.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/binutils-all/dw5.W | 1 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/dwarf-attributes.W | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/dw5.W b/binutils/testsuite/binutils-all/dw5.W index ebeda65..562b64f 100644 --- a/binutils/testsuite/binutils-all/dw5.W +++ b/binutils/testsuite/binutils-all/dw5.W @@ -3,6 +3,7 @@ Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0x160 \(32-bit\) Version: 5 + Unit Type: DW_UT_compile \(1\) Abbrev Offset: 0x0 Pointer Size: 8 <0><c>: Abbrev Number: 6 \(DW_TAG_compile_unit\) diff --git a/binutils/testsuite/binutils-all/dwarf-attributes.W b/binutils/testsuite/binutils-all/dwarf-attributes.W index 3a4e740..4e8386a 100644 --- a/binutils/testsuite/binutils-all/dwarf-attributes.W +++ b/binutils/testsuite/binutils-all/dwarf-attributes.W @@ -3,6 +3,7 @@ Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0x40 \(32-bit\) Version: 5 + Unit Type: DW_UT_compile \(1\) Abbrev Offset: 0x0 Pointer Size: 4 <0><c>: Abbrev Number: 1 \(User TAG value: 0x5555\) |