Enhance the strings program so that it can display multibyte strings.
authorNick Clifton <nickc@redhat.com>
Fri, 9 Nov 2018 12:48:23 +0000 (12:48 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 9 Nov 2018 12:48:23 +0000 (12:48 +0000)
commit71f5e3f7b624a725ba550a2dd18a413c88ee6497
tree072610aa1e5e93d0bdce4a78867c233f1026c214
parent0d0b0a378eb0c6705ff05a52e7468f5df5e47bc4
Enhance the strings program so that it can display multibyte strings.

* strings.c (print_strings): Check for multibyte encodings.
* binutils-all/strings-1.bin: New file.  Test binary for string decoding.
* testsuite/binutils-all/strings.exp: New file.  Test the strings program.
* testsuite/config/default.exp (STRINGS): Define if not provided
by the environment.
(STRINGSFLAGS): Likewise.
binutils/ChangeLog
binutils/strings.c
binutils/testsuite/binutils-all/strings-1.bin [new file with mode: 0755]
binutils/testsuite/binutils-all/strings.exp [new file with mode: 0644]
binutils/testsuite/config/default.exp