diff options
author | Tom Tromey <tromey@redhat.com> | 2002-09-17 17:01:22 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2002-09-17 17:01:22 +0000 |
commit | 0deec7d673988ca5e9e7088130f980b566fe901b (patch) | |
tree | ff55a3ae2049956664996b61daad695b6ce9018e /gdb/testsuite/gdb.base/printcmds.exp | |
parent | d1a8e808facd1ad8101d65425c20621f5df2a780 (diff) | |
download | gdb-0deec7d673988ca5e9e7088130f980b566fe901b.zip gdb-0deec7d673988ca5e9e7088130f980b566fe901b.tar.gz gdb-0deec7d673988ca5e9e7088130f980b566fe901b.tar.bz2 |
* gdb.base/printcmds.exp (test_print_string_constants): Expect
\000, not \0, in double-quoted string.
Diffstat (limited to 'gdb/testsuite/gdb.base/printcmds.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/printcmds.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp index 7062fc5..b0232dd 100644 --- a/gdb/testsuite/gdb.base/printcmds.exp +++ b/gdb/testsuite/gdb.base/printcmds.exp @@ -620,7 +620,7 @@ proc test_print_string_constants {} { set timeout 60; gdb_test "p \"a string\"" " = \"a string\"" - gdb_test "p \"embedded \\000 null\"" " = \"embedded \\\\0 null\"" + gdb_test "p \"embedded \\000 null\"" " = \"embedded \\\\000 null\"" gdb_test "p \"abcd\"\[2\]" " = 99 'c'" gdb_test "p sizeof (\"abcdef\")" " = 7" gdb_test "ptype \"foo\"" " = char \\\[4\\\]" |