OSDN Git Service

2007-10-18 Michael Snyder <msnyder@specifix.com>
authormsnyder <msnyder>
Thu, 18 Oct 2007 10:05:44 +0000 (10:05 +0000)
committermsnyder <msnyder>
Thu, 18 Oct 2007 10:05:44 +0000 (10:05 +0000)
* gdb.base/dbx.exp: Add missing "-re " operator.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/dbx.exp

index 1b71d92..e869baf 100644 (file)
@@ -1,3 +1,7 @@
+2007-10-18  Michael Snyder  <msnyder@specifix.com>
+
+       * gdb.base/dbx.exp: Add missing "-re " operator.
+
 2007-10-16  Gaius Mulley  <gaius@glam.ac.uk>
 
        * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
index af59b60..202488e 100644 (file)
@@ -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"