+2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.python/py-evthreads.exp (Run to breakpoint 1)
+ (reached breakpoint 2, reached breakpoint 3): Update expected output.
+
2011-09-15 Kevin Pouget <kevin.pouget@st.com>
PR Python/12692 Add gdb.selected_inferior() to Python interface.
gdb_run_cmd
set test "Run to breakpoint 1"
gdb_test_multiple "" $test {
- -re "event type: stop\r\nstop reason: breakpoint\r\nbreakpoint number: 1\r\nthread num: 1\r\n$gdb_prompt $" {
+ -re "event type: stop\r\nstop reason: breakpoint\r\nfirst breakpoint number: 1\r\nbreakpoint number: 1\r\nthread num: 1\r\n$gdb_prompt $" {
pass $test
}
-re "The target does not support running in non-stop mode" {
}
}
-gdb_test "next" "event type: stop\r\nstop reason: breakpoint\r\nbreakpoint number: 2\r\nthread num: 2" "reached breakpoint 2"
+gdb_test "next" "event type: stop\r\nstop reason: breakpoint\r\nfirst breakpoint number: 2\r\nbreakpoint number: 2\r\nthread num: 2" "reached breakpoint 2"
gdb_test "thread 2" {\[Switching to thread 2 .*}
-gdb_test "next" "event type: stop\r\nstop reason: breakpoint\r\nbreakpoint number: 3\r\nthread num: 3" "reached breakpoint 3"
+gdb_test "next" "event type: stop\r\nstop reason: breakpoint\r\nfirst breakpoint number: 3\r\nbreakpoint number: 3\r\nthread num: 3" "reached breakpoint 3"
gdb_test "thread 3" {\[Switching to thread 3 .*}