aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-03-14 12:21:13 +0000
committerNick Clifton <nickc@redhat.com>2023-03-14 12:21:13 +0000
commit7506fc9bf1fef7904a213c89a2df915e652ed3b9 (patch)
tree7cf7a0f4d61f768886480274cdcf00b5db6b329a /binutils/testsuite
parent2dd1c6e88aaef613ec07e6dac86e7c9e6e06d1cb (diff)
downloadgdb-7506fc9bf1fef7904a213c89a2df915e652ed3b9.zip
gdb-7506fc9bf1fef7904a213c89a2df915e652ed3b9.tar.gz
gdb-7506fc9bf1fef7904a213c89a2df915e652ed3b9.tar.bz2
Adjust the decoded line output to fit into 80 columns.
PR 30216 * dwarf.c (display_debug_lines_decoded): Reduce space for filenames. * testsuite/binutils-all/dw5.W: Adjust expected output. * testsuite/binutils-all/objdump.WL: Adjust expected output.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/binutils-all/dw5.W14
-rw-r--r--binutils/testsuite/binutils-all/objdump.WL8
2 files changed, 11 insertions, 11 deletions
diff --git a/binutils/testsuite/binutils-all/dw5.W b/binutils/testsuite/binutils-all/dw5.W
index ff54134..0058b85 100644
--- a/binutils/testsuite/binutils-all/dw5.W
+++ b/binutils/testsuite/binutils-all/dw5.W
@@ -348,13 +348,13 @@ Raw dump of debug contents of section .debug_line:
Contents of the .debug_line section:
main.c:
-File name Line number Starting address View Stmt
-main.c 6 0x1234 x
-main.c 6 0x12346 x
-main.c - 0x1234
+File name[ ]+Line number[ ]+Starting address[ ]+View[ ]+Stmt
+main.c[ ]+6[ ]+0x1234[ ]+x
+main.c[ ]+6[ ]+0x12346[ ]+x
+main.c[ ]+-[ ]+0x1234
-main.c 5 0x1234 x
-main.c 5 0x1234 x
-main.c - 0x1234
+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 f02a9e6..c52accc 100644
--- a/binutils/testsuite/binutils-all/objdump.WL
+++ b/binutils/testsuite/binutils-all/objdump.WL
@@ -4,13 +4,13 @@
Contents of the \.debug_line section:
dw2-decodedline\.c:
-File name Line number Starting address View Stmt
+File name[ ]+Line number[ ]+Starting address[ ]+View[ ]+Stmt
directory/file1\.c:
-file1\.c 1 .*
+file1\.c[ ]+1 .*
\./dw2-decodedline\.c:\[\+\+\]
-dw2-decodedline\.c 2 .*
-dw2-decodedline\.c - .*
+dw2-decodedline\.c[ ]+2 .*
+dw2-decodedline\.c[ ]+- .*