aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp')
-rw-r--r--gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp b/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
index eb3fc9e..76386bb 100644
--- a/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
+++ b/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
@@ -47,7 +47,7 @@ proc start_test { breakpoint_comment } {
clean_restart ${binfile}
- if { ![runto_main] } then {
+ if {![runto_main]} {
untested "couldn't run to breakpoint"
return -1
}
@@ -66,7 +66,7 @@ proc start_test { breakpoint_comment } {
# Start by testing the "run" command, it can't leverage start_test
with_test_prefix "run to frame" {
- if { ![runto_main] } then {
+ if {![runto_main]} {
untested "couldn't run to main"
}