aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/dbx.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/dbx.exp')
-rw-r--r--gdb/testsuite/gdb.base/dbx.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/dbx.exp b/gdb/testsuite/gdb.base/dbx.exp
index af59b60..202488e 100644
--- a/gdb/testsuite/gdb.base/dbx.exp
+++ b/gdb/testsuite/gdb.base/dbx.exp
@@ -290,7 +290,7 @@ proc test_assign { } {
send_gdb "assign first=1\n"
gdb_expect {
-re "No symbol \"first\" in current context.*$" { fail "assign first" }
- "$gdb_prompt $" { pass "assign first" }
+ -re "$gdb_prompt $" { pass "assign first" }
timeout { fail "assign first (timeout)" }
}
gdb_test "print first" ".1 = 1"