diff options
author | Pedro Alves <palves@redhat.com> | 2008-09-08 21:55:16 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-09-08 21:55:16 +0000 |
commit | 414c69f7a7e241fd4a4cb85535d864d48ddbee1f (patch) | |
tree | 5ba98c354ad39cfaee0db4d17b53296db378b5ec /gdb/inferior.h | |
parent | af679fd00340269efb8474ee49a343dccaea9700 (diff) | |
download | gdb-414c69f7a7e241fd4a4cb85535d864d48ddbee1f.zip gdb-414c69f7a7e241fd4a4cb85535d864d48ddbee1f.tar.gz gdb-414c69f7a7e241fd4a4cb85535d864d48ddbee1f.tar.bz2 |
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.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index e29ff4e..fa3b25e 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -288,10 +288,6 @@ extern CORE_ADDR stop_pc; extern int breakpoint_proceeded; -/* Nonzero if stopped due to a step command. */ - -extern int stop_step; - /* Nonzero if stopped due to completion of a stack dummy routine. */ extern int stop_stack_dummy; |