aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-10-12 00:02:23 +0000
committerYao Qi <yao@codesourcery.com>2012-10-12 00:02:23 +0000
commit87332029031f3b341a3f8d9035e7e1d367b08184 (patch)
tree6cbea62d5aa946edebc753c49c95fd94bd372090 /gdb
parent299f893db6047d3a88aecb61c76a4fe884222c84 (diff)
downloadgdb-87332029031f3b341a3f8d9035e7e1d367b08184.zip
gdb-87332029031f3b341a3f8d9035e7e1d367b08184.tar.gz
gdb-87332029031f3b341a3f8d9035e7e1d367b08184.tar.bz2
gdb/testsuite/
* gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove trail '.*' on matching patterns.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1146ce8..9ff0d14 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp b/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp
index c3abd74..773f588 100644
--- a/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp
+++ b/gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp
@@ -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}$" {