* [OB] fix regular exp in dbx.exp
@ 2007-10-18 15:26 Michael Snyder
0 siblings, 0 replies; only message in thread
From: Michael Snyder @ 2007-10-18 15:26 UTC (permalink / raw)
To: gdb-patches
2007-10-18 Michael Snyder <msnyder@specifix.com>
* gdb.base/dbx.exp: Add missing "-re " operator.
Index: gdb.base/dbx.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dbx.exp,v
retrieving revision 1.9
diff -p -r1.9 dbx.exp
*** gdb.base/dbx.exp 23 Aug 2007 18:14:16 -0000 1.9
--- gdb.base/dbx.exp 18 Oct 2007 10:02:57 -0000
*************** proc test_assign { } {
*** 290,296 ****
send_gdb "assign first=1\n"
gdb_expect {
-re "No symbol \"first\" in current context.*$" { fail "assign
first" }
! "$gdb_prompt $" { pass "assign first" }
timeout { fail "assign first (timeout)" }
}
gdb_test "print first" ".1 = 1"
--- 290,296 ----
send_gdb "assign first=1\n"
gdb_expect {
-re "No symbol \"first\" in current context.*$" { fail "assign
first" }
! -re "$gdb_prompt $" { pass "assign first" }
timeout { fail "assign first (timeout)" }
}
gdb_test "print first" ".1 = 1"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-18 10:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-18 15:26 [OB] fix regular exp in dbx.exp Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox