diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/watch_thread_num.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/watch_thread_num.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/watch_thread_num.exp b/gdb/testsuite/gdb.base/watch_thread_num.exp index 7625722..839bf84 100644 --- a/gdb/testsuite/gdb.base/watch_thread_num.exp +++ b/gdb/testsuite/gdb.base/watch_thread_num.exp @@ -46,8 +46,8 @@ if { ![runto main] } then { return } -gdb_test "watch shared_var thread 0" "Invalid thread ID: 0" "Watchpoint on invalid thread" -gdb_test "watch shared_var thread" "A syntax error in expression, near `thread'\." "Invalid watch syntax" +gdb_test "watch shared_var thread 0" "Invalid thread ID: 0" "watchpoint on invalid thread" +gdb_test "watch shared_var thread" "A syntax error in expression, near `thread'\." "invalid watch syntax" set bpexitline [gdb_get_line_number "all threads started"] gdb_breakpoint "$bpexitline" @@ -56,7 +56,7 @@ gdb_continue_to_breakpoint "all threads started" gdb_test "break loop" "Breakpoint \[0-9\].*" \ "Set breakpoint at loop" -gdb_test "continue" ".*Breakpoint .*loop.*" "Stopped in loop" +gdb_test "continue" ".*Breakpoint .*loop.*" "stopped in loop" gdb_test_multiple "thread" "Thread command" { -re ".*Current thread is (\[0-9\]*).*$gdb_prompt $" { |