aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/readelf.exp
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-03-02 10:02:02 +0000
committerNick Clifton <nickc@redhat.com>2020-03-02 10:02:02 +0000
commitba3265d04cc794d2af8b7d590a0658f7d732071c (patch)
tree130a816b897725b0eae9cfdc8ed5a711a48feed5 /binutils/testsuite/binutils-all/readelf.exp
parentcb001c0d283dd884efe06770d033a50fb1bc6c7d (diff)
downloadgdb-ba3265d04cc794d2af8b7d590a0658f7d732071c.zip
gdb-ba3265d04cc794d2af8b7d590a0658f7d732071c.tar.gz
gdb-ba3265d04cc794d2af8b7d590a0658f7d732071c.tar.bz2
Restore readelf's string dump to previous behaviour where newlines were caused line breaks.
PR 25543 * readelf.c (dump_section_as_strings): Display new-line characters as \n and then insert a line break. * testsuite/binutils-all/pr25543.s: New test. * testsuite/binutils-all/pr25543.d: Test driver. * testsuite/binutils-all/readelf.exp: Run the new test.
Diffstat (limited to 'binutils/testsuite/binutils-all/readelf.exp')
-rw-r--r--binutils/testsuite/binutils-all/readelf.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp
index 2f9afed..cc78e66 100644
--- a/binutils/testsuite/binutils-all/readelf.exp
+++ b/binutils/testsuite/binutils-all/readelf.exp
@@ -349,6 +349,7 @@ readelf_wi_test
readelf_compressed_wa_test
readelf_dump_test
+run_dump_test "pr25543"
# PR 13482 - Check for off-by-one errors when dumping .note sections.
if {![binutils_assemble $srcdir/$subdir/version.s tmpdir/version.o]} then {