diff options
author | Alan Modra <amodra@gmail.com> | 2018-12-08 11:49:20 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-12-08 13:22:33 +1030 |
commit | 7ca166c9408599e64c0cd3c5d3f0d00c8fae2d9e (patch) | |
tree | 5021f0e2465f9889af033ddc284c4b0fa8562cd2 /sim | |
parent | 5aee1c38f938d4f7c9f8365fabf81e2d1f1ca051 (diff) | |
download | gdb-7ca166c9408599e64c0cd3c5d3f0d00c8fae2d9e.zip gdb-7ca166c9408599e64c0cd3c5d3f0d00c8fae2d9e.tar.gz gdb-7ca166c9408599e64c0cd3c5d3f0d00c8fae2d9e.tar.bz2 |
Fix strings.c endian issue and strings test
git commit 71f5e3f7b624 obviously wasn't tested on a big-endian host,
and the test fail message resulted in tcl errors.
* strings.c (unget_part_char): New function.
(print_strings): Use unget_part_char. Formatting.
* testsuite/binutils-all/strings.exp (test_multibyte): Don't
use square brackets in fail message. Expect "String1\nString2".
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions