From 64af4c92f8369e30c0205efe8dff12938cbeb235 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 26 Apr 2010 15:49:11 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array) (print /x char_array): Escape curly brackets. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.pascal/gdb11492.exp | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 024054dade3..7aee1ec5ace 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-04-26 Jan Kratochvil + + * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array) + (print /x char_array): Escape curly brackets. + 2010-04-23 Jan Kratochvil Fix deadlock on looped list of loaded shared objects. diff --git a/gdb/testsuite/gdb.pascal/gdb11492.exp b/gdb/testsuite/gdb.pascal/gdb11492.exp index be8c82d79b0..058cd80b396 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" "" -- 2.30.2