mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* gdb.base/printcmds.exp (test_print_string_constants): Expect
\000, not \0, in double-quoted string.
This commit is contained in:
@ -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\\\]"
|
||||
|
Reference in New Issue
Block a user