aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/dbx.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-10-18 10:05:44 +0000
committerMichael Snyder <msnyder@vmware.com>2007-10-18 10:05:44 +0000
commit5e5ebfe659031c23e47be1e1fdc2723562ce1c47 (patch)
treea48b15db1cf3df94c347e46bcdf720bb980c4d24 /gdb/testsuite/gdb.base/dbx.exp
parent3e6ff6e5e4fb8a2a322ea4439920dcb7fd2bf108 (diff)
downloadgdb-5e5ebfe659031c23e47be1e1fdc2723562ce1c47.zip
gdb-5e5ebfe659031c23e47be1e1fdc2723562ce1c47.tar.gz
gdb-5e5ebfe659031c23e47be1e1fdc2723562ce1c47.tar.bz2
2007-10-18 Michael Snyder <msnyder@specifix.com>
* gdb.base/dbx.exp: Add missing "-re " operator.
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"