gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Fri, 12 Oct 2012 00:02:23 +0000 (00:02 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 12 Oct 2012 00:02:23 +0000 (00:02 +0000)
* gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
trail '.*' on matching patterns.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp

index 1146ce8f1373752ef455cbe90ddc7c9b170dcb55..9ff0d14149a37f1e44db6c010e41dbafc39b6cb9 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-12  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
+       trail '.*' on matching patterns.
+
 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
index c3abd743c4d1c1c32bd1211cae19cc7f58365de4..773f588d5cda48d1b3b67db0a1b0cecf8b9ca835 100644 (file)
@@ -163,11 +163,11 @@ proc test_pending_resolved { } { with_test_prefix "pending resolved" {
 
     set test "breakpoint on pendfunc1 resolved"
     gdb_expect {
-       -re ".*=breakpoint-modified,bkpt=\{number=\"1\".*addr=\"${hex}\".*,times=\"0\".*" {
+       -re ".*=breakpoint-modified,bkpt=\{number=\"1\".*addr=\"${hex}\".*,times=\"0\"" {
            pass $test
            exp_continue
        }
-       -re ".*=breakpoint-modified,bkpt=\{number=\"1\".*addr=\"${hex}\".*,times=\"1\".*" {
+       -re ".*=breakpoint-modified,bkpt=\{number=\"1\".*addr=\"${hex}\".*,times=\"1\"" {
            pass "$test: hit_count is updated"
        }
        -re ".*${mi_gdb_prompt}$" {
@@ -219,7 +219,7 @@ proc test_pending_resolved { } { with_test_prefix "pending resolved" {
     mi_send_resuming_command "exec-continue" "continuing to exit"
     set test "breakpoint on pendfunc3 pending again"
     gdb_expect {
-       -re ".*=breakpoint-modified,bkpt=\{number=\"3\".*addr=\"<PENDING>\".*" {
+       -re ".*=breakpoint-modified,bkpt=\{number=\"3\".*addr=\"<PENDING>\"" {
            pass $test
        }
        -re ".*${mi_gdb_prompt}$" {