gdb/testsuite/
* gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove trail '.*' on matching patterns.
This commit is contained in:
parent
299f893db6
commit
8733202903
@ -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.
|
||||
|
@ -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}$" {
|
||||
|
Loading…
Reference in New Issue
Block a user