summaryrefslogtreecommitdiff
path: root/gdb/gdbthread.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2008-09-08 21:48:52 +0000
committerPedro Alves <pedro@codesourcery.com>2008-09-08 21:48:52 +0000
commit7948b04690ec44ccab8373e49b3c18188b90fdf7 (patch)
tree0f0a81aea1749d4f06921c2e4cad1cd203c6e00f /gdb/gdbthread.h
parent8e8a9c178a2794662975e1aaa92024c92622230f (diff)
downloadgdb-7948b04690ec44ccab8373e49b3c18188b90fdf7.tar.gz
* gdbthread.h (struct thread_info): Add comments around
proceed_to_finish. (save_infrun_state, load_infrun_state): Remove proceed_to_finish argument. * thread.c (load_infrun_state, save_infrun_state): Delete proceed_to_finish argument and references to it. * infcall.c (call_function_by_hand): Adjust. * infcmd.c (finish_command): Adjust. * infrun.c (proceed_to_finish): Delete. (clear_proceed_status): Adjust. (context_switch): Don't context-switch proceed_to_finish. (normal_stop, save_inferior_status, restore_inferior_status): Adjust.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r--gdb/gdbthread.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index 82f12587df5..ca74976fb87 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -140,7 +140,11 @@ struct thread_info
/* Per-thread command support. */
struct continuation *continuations;
struct continuation *intermediate_continuations;
+
+ /* Nonzero if the thread is being proceeded for a "finish" command
+ or a similar situation when stop_registers should be saved. */
int proceed_to_finish;
+
enum step_over_calls_kind step_over_calls;
int stop_step;
int step_multi;
@@ -219,7 +223,6 @@ extern int thread_count (void);
extern void save_infrun_state (ptid_t ptid,
struct continuation *continuations,
struct continuation *intermediate_continuations,
- int proceed_to_finish,
int stop_step,
int step_multi,
enum target_signal stop_signal);
@@ -229,7 +232,6 @@ extern void save_infrun_state (ptid_t ptid,
extern void load_infrun_state (ptid_t ptid,
struct continuation **continuations,
struct continuation **intermediate_continuations,
- int *proceed_to_finish,
int *stop_step,
int *step_multi,
enum target_signal *stop_signal);