aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-10 23:27:49 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-10 23:27:49 +0000
commit1596060827823b9bd8095f4275e5f7858bfc4b89 (patch)
treec573687884d4431734aeabbc01b612f9e882a1aa /gdb/infrun.c
parent5ab5aa0fb44fc4324e3b94124fa9412a64a12207 (diff)
downloadgdb-1596060827823b9bd8095f4275e5f7858bfc4b89.zip
gdb-1596060827823b9bd8095f4275e5f7858bfc4b89.tar.gz
gdb-1596060827823b9bd8095f4275e5f7858bfc4b89.tar.bz2
2004-05-10 Andrew Cagney <cagney@redhat.com>
* infrun.c (through_sigtramp_breakpoint): Delete variable. (context_switch): Do not switch through_sigtramp_breakpoint. * gdbthread.h (save_infrun_state, load_infrun_state) (struct thread_info): Delete through_sigtramp_breakpoint parameter and structure member. * thread.c (load_infrun_state, save_infrun_state): Update.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 79e681c..298b5f42 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -303,9 +303,6 @@ static int breakpoints_failed;
static int stop_print_frame;
static struct breakpoint *step_resume_breakpoint = NULL;
-/* NOTE: cagney/2004-05-08: This variable needs to be garbage
- collected, it isn't used. */
-static struct breakpoint *through_sigtramp_breakpoint = NULL;
/* On some platforms (e.g., HP-UX), hardware watchpoints have bad
interactions with an inferior that is running a kernel function
@@ -1159,7 +1156,7 @@ context_switch (struct execution_control_state *ecs)
/* Save infrun state for the old thread. */
save_infrun_state (inferior_ptid, prev_pc,
trap_expected, step_resume_breakpoint,
- through_sigtramp_breakpoint, step_range_start,
+ step_range_start,
step_range_end, &step_frame_id,
ecs->handling_longjmp, ecs->another_trap,
ecs->stepping_through_solib_after_catch,
@@ -1170,7 +1167,7 @@ context_switch (struct execution_control_state *ecs)
/* Load infrun state for the new thread. */
load_infrun_state (ecs->ptid, &prev_pc,
&trap_expected, &step_resume_breakpoint,
- &through_sigtramp_breakpoint, &step_range_start,
+ &step_range_start,
&step_range_end, &step_frame_id,
&ecs->handling_longjmp, &ecs->another_trap,
&ecs->stepping_through_solib_after_catch,