aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbthread.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-09-08 21:48:52 +0000
committerPedro Alves <palves@redhat.com>2008-09-08 21:48:52 +0000
commit32400bebb23653900ef060aae37668a2a1961155 (patch)
tree9b74d3a143584431a3999f0f54833aeb8cdea0b7 /gdb/gdbthread.h
parent347bddb745acda8fb591511a547e66bbe00d768b (diff)
downloadgdb-32400bebb23653900ef060aae37668a2a1961155.zip
gdb-32400bebb23653900ef060aae37668a2a1961155.tar.gz
gdb-32400bebb23653900ef060aae37668a2a1961155.tar.bz2
* 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 82f1258..ca74976 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);