diff options
author | Yao Qi <yao@codesourcery.com> | 2011-06-22 10:09:22 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-06-22 10:09:22 +0000 |
commit | b138ce370d0b62f15547b24c5aac4a8a02af07d9 (patch) | |
tree | a607a056ec02dbfe2e01bac9d3563479af5f5f25 /gdb/infrun.c | |
parent | 3fee20efd3ea43e4b2bd497c7e0ca37b72c1dea4 (diff) | |
download | gdb-b138ce370d0b62f15547b24c5aac4a8a02af07d9.zip gdb-b138ce370d0b62f15547b24c5aac4a8a02af07d9.tar.gz gdb-b138ce370d0b62f15547b24c5aac4a8a02af07d9.tar.bz2 |
gdb/
* infrun.c (handle_inferior_event): Remove write-only local variable
`sw_single_step_trap_p'.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index a5dbcbd..8616f99 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3090,7 +3090,6 @@ handle_inferior_event (struct execution_control_state *ecs) { struct frame_info *frame; struct gdbarch *gdbarch; - int sw_single_step_trap_p = 0; int stopped_by_watchpoint; int stepped_after_stopped_by_watchpoint = 0; struct symtab_and_line stop_pc_sal; @@ -3845,7 +3844,6 @@ handle_inferior_event (struct execution_control_state *ecs) } else if (singlestep_breakpoints_inserted_p) { - sw_single_step_trap_p = 1; ecs->random_signal = 0; } } |