diff options
author | Nick Clifton <nickc@redhat.com> | 2002-04-09 15:36:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-04-09 15:36:43 +0000 |
commit | 4c30641a0f5551dff885ff61a7b7368a81a77421 (patch) | |
tree | eff43f00afa2ebf3beb9b0d4854cff57c355096c /binutils/testsuite | |
parent | 2ed5f585e4f1b7f0c719d704807f994938613a4c (diff) | |
download | gdb-4c30641a0f5551dff885ff61a7b7368a81a77421.zip gdb-4c30641a0f5551dff885ff61a7b7368a81a77421.tar.gz gdb-4c30641a0f5551dff885ff61a7b7368a81a77421.tar.bz2 |
Fix parsing hex constants in strings. Add test for the fix.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r-- | binutils/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/windres/escapex.rc | 4 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/windres/escapex.rsd | 8 |
3 files changed, 16 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index e61a687..9c84fd7 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2002-04-09 Nick Clifton <nickc@cambridge.redhat.com> + * binutils-all/windres/escapex.rc: New test case for hex constants + in strings. + * binutils-all/windres/escapex.rsd: Expected output + * binutils-all/windres/quoteclass.rc: New test case for quoted CLASS definitions in DIALOG resources. diff --git a/binutils/testsuite/binutils-all/windres/escapex.rc b/binutils/testsuite/binutils-all/windres/escapex.rc new file mode 100644 index 0000000..1a025f6 --- /dev/null +++ b/binutils/testsuite/binutils-all/windres/escapex.rc @@ -0,0 +1,4 @@ +101 DIALOG DISCARDABLE 0, 0, 186, 95 +BEGIN + LTEXT "\xB0",-1,23,46,28,8 +END diff --git a/binutils/testsuite/binutils-all/windres/escapex.rsd b/binutils/testsuite/binutils-all/windres/escapex.rsd new file mode 100644 index 0000000..9165342 --- /dev/null +++ b/binutils/testsuite/binutils-all/windres/escapex.rsd @@ -0,0 +1,8 @@ + 0000 00000000 20000000 ffff0000 ffff0000 .... ........... + 0010 00000000 00000000 00000000 00000000 ................ + 0020 34000000 20000000 ffff0500 ffff6500 4... .........e. + 0030 00000000 10100000 00000000 00000000 ................ + 0040 00008880 00000000 01000000 0000ba00 ................ + 0050 5f000000 00000000 00000250 00000000 _..........P.... + 0060 17002e00 1c000800 ffffffff 8200b000 ................ + 0070 00000000 .... |