aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-12 22:19:02 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-12 22:19:02 +0000
commitf2c9ca0856f99aaddc3f12d8addd1d900dbea575 (patch)
treea3c91aa1d2dc4180fee2dabab692f762a861e7db /gdb/thread.c
parent090ddb2a8c306b210b4d085f195398105da49448 (diff)
downloadgdb-f2c9ca0856f99aaddc3f12d8addd1d900dbea575.zip
gdb-f2c9ca0856f99aaddc3f12d8addd1d900dbea575.tar.gz
gdb-f2c9ca0856f99aaddc3f12d8addd1d900dbea575.tar.bz2
2004-05-12 Andrew Cagney <cagney@redhat.com>
* thread.c (load_infrun_state): Delete step_sp. * infrun.c (context_switch): Ditto. * inferior.h (step_sp): Ditto. * infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto. * gdbthread.h (struct thread_info, save_infrun_state) (restore_infrun_state): Ditto.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index bb7c63f..7a5927d 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -303,7 +303,7 @@ load_infrun_state (ptid_t ptid,
bpstat *stepping_through_solib_catchpoints,
int *stepping_through_sigtramp,
int *current_line,
- struct symtab **current_symtab, CORE_ADDR *step_sp)
+ struct symtab **current_symtab)
{
struct thread_info *tp;
@@ -328,7 +328,6 @@ load_infrun_state (ptid_t ptid,
*stepping_through_sigtramp = tp->stepping_through_sigtramp;
*current_line = tp->current_line;
*current_symtab = tp->current_symtab;
- *step_sp = tp->step_sp;
}
/* Save infrun state for the thread PID. */
@@ -347,7 +346,7 @@ save_infrun_state (ptid_t ptid,
bpstat stepping_through_solib_catchpoints,
int stepping_through_sigtramp,
int current_line,
- struct symtab *current_symtab, CORE_ADDR step_sp)
+ struct symtab *current_symtab)
{
struct thread_info *tp;
@@ -370,7 +369,6 @@ save_infrun_state (ptid_t ptid,
tp->stepping_through_sigtramp = stepping_through_sigtramp;
tp->current_line = current_line;
tp->current_symtab = current_symtab;
- tp->step_sp = step_sp;
}
/* Return true if TP is an active thread. */