From: Jan Kratochvil Date: Fri, 16 Sep 2011 07:34:27 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63a9aad80e505c76b6a7f81505e54303e27252e1;p=binutils-gdb.git gdb/testsuite/ * gdb.python/py-evthreads.exp (Run to breakpoint 1) (reached breakpoint 2, reached breakpoint 3): Update expected output. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1ff1358285f..99e220c0302 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-09-16 Jan Kratochvil + + * gdb.python/py-evthreads.exp (Run to breakpoint 1) + (reached breakpoint 2, reached breakpoint 3): Update expected output. + 2011-09-15 Kevin Pouget PR Python/12692 Add gdb.selected_inferior() to Python interface. diff --git a/gdb/testsuite/gdb.python/py-evthreads.exp b/gdb/testsuite/gdb.python/py-evthreads.exp index 5009fc73673..33d35a1a929 100644 --- a/gdb/testsuite/gdb.python/py-evthreads.exp +++ b/gdb/testsuite/gdb.python/py-evthreads.exp @@ -55,7 +55,7 @@ gdb_breakpoint "thread3" 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" { @@ -64,11 +64,11 @@ gdb_test_multiple "" $test { } } -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 .*}