diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-nsthrexec.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-nsthrexec.exp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-nsthrexec.exp b/gdb/testsuite/gdb.mi/mi-nsthrexec.exp index 03764ea..85617d0 100644 --- a/gdb/testsuite/gdb.mi/mi-nsthrexec.exp +++ b/gdb/testsuite/gdb.mi/mi-nsthrexec.exp @@ -57,8 +57,9 @@ if { [mi_run_to_main] < 0 } { continue } -mi_create_breakpoint thread_execler 2 keep thread_execler .* .* .* \ - "breakpoint at thread_execler" +mi_create_breakpoint thread_execler \ + "breakpoint at thread_execler" \ + -number 2 -function thread_execler # All threads should stop, except the main thread. mi_send_resuming_command "exec-continue --all" "resume all" @@ -77,8 +78,10 @@ mi_check_thread_states {"stopped" "stopped"} "thread state, all stopped" # now that we know about all the threads, we can get rid of the breakpoints mi_delete_breakpoints -mi_create_breakpoint main 3 keep main .* .* .* \ - "breakpoint at main" +mi_create_breakpoint main \ + "breakpoint at main" \ + -number 3 -func main + # Now resume the execler thread. Eventually, it execs. mi_send_resuming_command "exec-continue --thread 2" "resume execler thread" |