diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-06-10 19:48:20 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-06-10 19:48:20 +0000 |
commit | f6978de9f5df575df336f7044d1a7611a5f6182e (patch) | |
tree | 3b935b448fe32f3ba45a4e8042413eea01e35a37 /gdb/testsuite/gdb.threads/hand-call-in-threads.exp | |
parent | 219a461e6c1b65b12a6b08ba167560c00dd2174d (diff) | |
download | binutils-gdb-f6978de9f5df575df336f7044d1a7611a5f6182e.tar.gz |
2010-06-08 Michael Snyder <msnyder@vmware.com>
* gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.ada/boolean_expr.exp:
* gdb.ada/frame_args.exp: Ditto.
* gdb.ada/lang_switch.exp: Ditto.
* gdb.ada/ptype_arith_binop.exp: Ditto.
* gdb.ada/ref_param.exp: Ditto.
* gdb.ada/type_coercion.exp:Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/attach.exp: Ditto.
* gdb.base/bitfields2.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/dbx.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/exprs.exp: Ditto.
* gdb.base/freebpcmd.exp: Ditto.
* gdb.base/interrupt.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/sigbpt.exp: Ditto.
* gdb.base/sigrepeat.exp: Ditto.
* gdb.cp/classes.exp: Ditto.
* gdb.dwarf2/dw2-restore.exp: Ditto.
* gdb.gdb/selftest.exp: Ditto.
* gdb.multi/base.exp: Ditto.
* gdb.multi/bkpt-multi-exec.exp: Ditto.
* gdb.python/py-block.exp: Ditto.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.
* gdb.server/ext-attach.exp: Ditto.
* gdb.server/ext-run.exp: Ditto.
* gdb.server/server-mon.exp: Ditto.
* gdb.threads/fork-thread-pending.exp: Ditto.
* gdb.threads/hand-call-in-threads.exp: Ditto.
* gdb.threads/interrupted-hand-call.exp: Ditto.
* gdb.threads/linux-dp.exp: Ditto.
* gdb.threads/manythreads.exp: Ditto.
* gdb.threads/print-threads.exp: Ditto.
* gdb.threads/pthreads.exp: Ditto.
* gdb.threads/schedlock.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.threads/hand-call-in-threads.exp')
-rw-r--r-- | gdb/testsuite/gdb.threads/hand-call-in-threads.exp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp index 93383300e34..59bf4903c7f 100644 --- a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp +++ b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp @@ -93,8 +93,10 @@ set total_nr_threads [expr $NR_THREADS + 1] # Thread numbering in gdb is origin-1, so begin numbering at 1. for { set i 1 } { $i <= $total_nr_threads } { incr i } { set thread_nr $i - gdb_test "thread $thread_nr" "" "prepare to make hand call, thread $thread_nr" - gdb_test "call hand_call()" "Breakpoint 3, .*" "hand call, thread $thread_nr" + gdb_test "thread $thread_nr" ".*" \ + "prepare to make hand call, thread $thread_nr" + gdb_test "call hand_call()" "Breakpoint 3, .*" \ + "hand call, thread $thread_nr" } # Now have each hand-called function return. @@ -106,7 +108,8 @@ clear_xfail "*-*-*" for { set i 1 } { $i <= $total_nr_threads } { incr i } { set thread_nr $i - gdb_test "thread $thread_nr" "" "prepare to discard hand call, thread $thread_nr" + gdb_test "thread $thread_nr" ".*" \ + "prepare to discard hand call, thread $thread_nr" set frame_number [get_dummy_frame_number] if { "$frame_number" == "" } { fail "dummy stack frame number, thread $thread_nr" @@ -116,8 +119,8 @@ for { set i 1 } { $i <= $total_nr_threads } { incr i } { pass "dummy stack frame number, thread $thread_nr" } # Pop the dummy frame. - gdb_test "frame $frame_number" "" "setting frame, thread $thread_nr" - gdb_test "return" "" "discard hand call, thread $thread_nr" + gdb_test "frame $frame_number" ".*" "setting frame, thread $thread_nr" + gdb_test "return" ".*" "discard hand call, thread $thread_nr" # In case getting the dummy frame number failed, re-enable for next iter. clear_xfail "*-*-*" } @@ -149,7 +152,7 @@ gdb_test "show scheduler-locking" ".* locking scheduler .* is \"off\"." "show sc # all_threads_running breakpoint, which wasn't the last thread to run, # and gdb doesn't know how to singlestep over reported breakpoints that # weren't in the last thread to run. -#gdb_test "thread 1" "" "set thread to 1, prepare to resume" +#gdb_test "thread 1" ".*" "set thread to 1, prepare to resume" # #gdb_continue_to_end "hand-call-in-threads" |