aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/async.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/async.exp')
-rw-r--r--gdb/testsuite/gdb.base/async.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp
index cae10f7..2f3ee9f 100644
--- a/gdb/testsuite/gdb.base/async.exp
+++ b/gdb/testsuite/gdb.base/async.exp
@@ -109,7 +109,7 @@ gdb_test_multiple {x/2i $pc} "$test" {
}
}
set next_insn_is_stmt \
- [expr [lsearch -regexp $is_stmt 0x0*$next_insn_addr] != -1]
+ [expr {[lsearch -regexp $is_stmt 0x0*$next_insn_addr] != -1}]
if { $next_insn_is_stmt } {
set prefix ""