]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/
authorYao Qi <yao@codesourcery.com>
Wed, 22 Jun 2011 10:09:22 +0000 (10:09 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 22 Jun 2011 10:09:22 +0000 (10:09 +0000)
* infrun.c (handle_inferior_event): Remove write-only local variable
`sw_single_step_trap_p'.

gdb/ChangeLog
gdb/infrun.c

index 954fb5317a25fea8c510fa59267dfdc0e4de53fb..b11442854f437ecd1736fa4caa29d5126c604258 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-22  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c (handle_inferior_event): Remove write-only local variable
+       `sw_single_step_trap_p'.
+
 2011-06-20  Tom Tromey  <tromey@redhat.com>
 
        * symtab.c (lookup_language_this): End loop if block is NULL.
index a5dbcbd5e0d296eef3296de8827a99e19d08429e..8616f99bd46619dd4f9f811eedd1ce6dd794dc32 100644 (file)
@@ -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;
        }
     }