PR gdb/2250
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 17 Nov 2008 18:50:22 +0000 (18:50 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Mon, 17 Nov 2008 18:50:22 +0000 (18:50 +0000)
commita721238407980aeb5617769fefde3cc3ed08aff8
treeff1c521cac93f303e010c79e87b373692d50720d
parent764c62eb0185bc1f92441726066d895194ac5785
PR gdb/2250
* infrun.c (clear_proceed_status_thread): New function.
(clear_proceed_status_callback): New function.
(clear_proceed_status): In all-stop mode, clear per-thread
proceed status of *all* threads, not only the current.
(handle_inferior_event): In all-stop mode, if we're stepping
one thread, but got some inferior event in another thread
that does not cause GDB to break to the user interface,
ensure the interrupted stepping operation continues in the
original thread.
(currently_stepping): Move thread-related tests to ...
(currently_stepping_thread): ... this new function.
(currently_stepping_callback): New function.
gdb/ChangeLog
gdb/infrun.c