OSDN Git Service

Remove the global step_multi in favour of a per-thread
authorpalves <palves>
Mon, 8 Sep 2008 21:52:25 +0000 (21:52 +0000)
committerpalves <palves>
Mon, 8 Sep 2008 21:52:25 +0000 (21:52 +0000)
commit162fb898913bcaa7838178e971e45d39ea9b176e
tree74716868ea32bba18a539e3e2cc4e3416a3d30fa
parenta93271f6ffb7a71aaa2c78f88325334f015f110c
Remove the global step_multi in favour of a per-thread
step_multi.

* inferior.h (step_multi): Delete.
* gdbthread.h (struct thread_info): Add comments around
step_multi.
(save_infrun_state, load_infrun_state): Remove step_multi
parameter.
* thread.c (load_infrun_state, save_infrun_state): Remove
step_multi argument, and references to it.
* infcmd.c (step_multi): Delete.
(step_1): Adjust.
(step_1_continuation, until_next_command): Adjust.
* infrun.c (fetch_inferior_event): Adjust.
(context_switch): Don't context-switch step_multi.
(print_stop_reason, normal_stop): Adjust.
gdb/ChangeLog
gdb/gdbthread.h
gdb/infcmd.c
gdb/inferior.h
gdb/infrun.c
gdb/thread.c