* infrun.c (init_execution_control_state): Initialize
authorDaniel Jacobowitz <drow@false.org>
Wed, 28 Sep 2005 16:17:06 +0000 (16:17 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 28 Sep 2005 16:17:06 +0000 (16:17 +0000)
ecs->another_trap.

gdb/ChangeLog
gdb/infrun.c

index ff4138d..91cbae2 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * infrun.c (init_execution_control_state): Initialize
+       ecs->another_trap.
+
 2005-09-28  Nick Roberts  <nickrob@snap.net.nz>
 
        * Makefile.in (TAGS): Put DEPFILES back and add as a dependency.
index edaf17a..b0ac322 100644 (file)
@@ -1075,7 +1075,7 @@ fetch_inferior_event (void *client_data)
 void
 init_execution_control_state (struct execution_control_state *ecs)
 {
-  /* ecs->another_trap? */
+  ecs->another_trap = 0;
   ecs->random_signal = 0;
   ecs->step_after_step_resume_breakpoint = 0;
   ecs->handling_longjmp = 0;   /* FIXME */