OSDN Git Service

Remove the global stop_step in favour of a per-thread
authorpalves <palves>
Mon, 8 Sep 2008 21:55:16 +0000 (21:55 +0000)
committerpalves <palves>
Mon, 8 Sep 2008 21:55:16 +0000 (21:55 +0000)
commita115d33d18e42f9c9a46196b2c52606d6ffc9639
treef359a59d8da64e0a2ebffaf78d1897a59af47b13
parent162fb898913bcaa7838178e971e45d39ea9b176e
Remove the global stop_step in favour of a per-thread
stop_step.

* inferior.h (stop_step): Delete.

* gdbthread.h (struct thread_info): Add comments to stop_step.
(save_infrun_state, load_infrun_state): Remove stop_step argument.
* thread.c (load_infrun_state, save_infrun_state): Remove
stop_step argument, and references to it.

* infrun.c (clear_proceed_status): Clear stop_step.
(fetch_inferior_event): Adjust.
(context_switch): Don't context-switch stop_step.
(handle_inferior_event): Adjust.
(normal_stop): Adjust.
(save_inferior_status, restore_inferior_status): Adjust.

* infcmd.c (stop_step): Delete.
(step_1, step_1_continuation, step_once, until_next_command):
Adjust.
gdb/ChangeLog
gdb/gdbthread.h
gdb/infcmd.c
gdb/inferior.h
gdb/infrun.c
gdb/thread.c