This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[OB] fix regular exp in dbx.exp


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"



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]