diff options
author | Tom de Vries <tdevries@suse.de> | 2020-07-10 11:25:44 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-07-10 11:25:44 +0100 |
commit | af2b31864802e6ca75b2c98ce4a4a7deb9d5c608 (patch) | |
tree | 1a7e44415b65182dba2884bd8e9c9c93ef6e074d /binutils/testsuite | |
parent | d882c9889312591a8bfdbc1740938780cd4032bd (diff) | |
download | gdb-af2b31864802e6ca75b2c98ce4a4a7deb9d5c608.zip gdb-af2b31864802e6ca75b2c98ce4a4a7deb9d5c608.tar.gz gdb-af2b31864802e6ca75b2c98ce4a4a7deb9d5c608.tar.bz2 |
[readelf] Fix end_seq entry in -wL. Specifically stop the display of a line number and is_statement/has-view fields for the End of Sequence operator, as these have no meaning.
binutils* dwarf.c (display_debug_lines_decoded): Don't emit meaningless
information in the end_sequence row.
* testsuite/binutils-all/dw5.W: Update.
* testsuite/binutils-all/objdump.WL: Update.
gas * testsuite/gas/elf/dwarf2-11.d: Update expected output from
readelf's line table decoding.
* testsuite/gas/elf/dwarf2-12.d: Likewise.
* testsuite/gas/elf/dwarf2-13.d: Likewise.
* testsuite/gas/elf/dwarf2-14.d: Likewise.
* testsuite/gas/elf/dwarf2-15.d: Likewise.
* testsuite/gas/elf/dwarf2-16.d: Likewise.
* testsuite/gas/elf/dwarf2-17.d: Likewise.
* testsuite/gas/elf/dwarf2-18.d: Likewise.
* testsuite/gas/elf/dwarf2-19.d: Likewise.
* testsuite/gas/elf/dwarf2-5.d: Likewise.
* testsuite/gas/elf/dwarf2-6.d: Likewise.
* testsuite/gas/elf/dwarf2-7.d: Likewise.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/binutils-all/dw5.W | 4 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objdump.WL | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/binutils/testsuite/binutils-all/dw5.W b/binutils/testsuite/binutils-all/dw5.W index 2eccb03..ebeda65 100644 --- a/binutils/testsuite/binutils-all/dw5.W +++ b/binutils/testsuite/binutils-all/dw5.W @@ -350,10 +350,10 @@ CU: ./main.c: File name Line number Starting address View Stmt main.c 6 0x1234 x main.c 6 0x12346 x -main.c 6 0x1234 x +main.c - 0x1234 main.c 5 0x1234 x main.c 5 0x1234 x -main.c 5 0x1234 x +main.c - 0x1234 diff --git a/binutils/testsuite/binutils-all/objdump.WL b/binutils/testsuite/binutils-all/objdump.WL index 954fb3e..e16d5ba 100644 --- a/binutils/testsuite/binutils-all/objdump.WL +++ b/binutils/testsuite/binutils-all/objdump.WL @@ -12,5 +12,5 @@ file1\.c 1 .* \./dw2-decodedline\.c:\[\+\+\] dw2-decodedline\.c 2 .* -dw2-decodedline\.c 2 .* +dw2-decodedline\.c - .* |