Fix signal-while-stepping-over-bp-other-thread.exp on targets always in non-stop
authorPedro Alves <palves@redhat.com>
Thu, 6 Aug 2015 17:22:57 +0000 (18:22 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 7 Aug 2015 16:26:20 +0000 (17:26 +0100)
commitd55007b58352c0b5fd2817e003b6dcf4e3ee4c07
tree81f6012e3afcd63f51152e8f12e6bda580337026
parentfbea99ea8a062e5cd96e2d88336984ed3adc93d4
Fix signal-while-stepping-over-bp-other-thread.exp on targets always in non-stop

With "maint set target-non-stop on" we get:

 -PASS: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step
 +FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step

The issue is simply that switch_back_to_stepped_thread is not used in
non-stop mode, thus infrun doesn't output the expected "switching back
to stepped thread" log.

gdb/testsuite/ChangeLog:
2015-08-07  Pedro Alves  <palves@redhat.com>

* signal-while-stepping-over-bp-other-thread.exp: Expect "restart
threads" as alternative to "switching back to stepped thread".
gdb/ChangeLog
gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.exp
This page took 0.030116 seconds and 4 git commands to generate.