aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.pascal
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-04-26 15:49:11 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-04-26 15:49:11 +0000
commit64af4c92f8369e30c0205efe8dff12938cbeb235 (patch)
treeaa658757f3dd87d8dcf8a4b5566379491b07804e /gdb/testsuite/gdb.pascal
parent885625825921b283a8de1531083c729814dee60e (diff)
downloadgdb-64af4c92f8369e30c0205efe8dff12938cbeb235.zip
gdb-64af4c92f8369e30c0205efe8dff12938cbeb235.tar.gz
gdb-64af4c92f8369e30c0205efe8dff12938cbeb235.tar.bz2
gdb/testsuite/
* gdb.pascal/gdb11492.exp (print integer_array, print /d char_array) (print /x char_array): Escape curly brackets.
Diffstat (limited to 'gdb/testsuite/gdb.pascal')
-rw-r--r--gdb/testsuite/gdb.pascal/gdb11492.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.pascal/gdb11492.exp b/gdb/testsuite/gdb.pascal/gdb11492.exp
index be8c82d..058cd80 100644
--- a/gdb/testsuite/gdb.pascal/gdb11492.exp
+++ b/gdb/testsuite/gdb.pascal/gdb11492.exp
@@ -46,12 +46,12 @@ if { [gdb_start_cmd] < 0 } {
gdb_test "" ".* at .*${srcfile}.*" "start"
gdb_test "continue" ""
-gdb_test "print integer_array" " = {50, 51, 52, 53, 54, 55, 56, 57}"
+gdb_test "print integer_array" { = \{50, 51, 52, 53, 54, 55, 56, 57\}}
gdb_test "print /s integer_array" " = '23456789'"
gdb_test "print char_array" " = '23456789'"
-gdb_test "print /d char_array" " = {50, 51, 52, 53, 54, 55, 56, 57}"
-gdb_test "print /x char_array" " = {0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39}"
+gdb_test "print /d char_array" { = \{50, 51, 52, 53, 54, 55, 56, 57\}}
+gdb_test "print /x char_array" { = \{0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39\}}
# Use next two times to avoid GPC line numbering problem
gdb_test "next" ""
gdb_test "next" ""