summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ff4138dd503..91cbae27eea 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/infrun.c b/gdb/infrun.c
index edaf17a40b4..b0ac3225553 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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 */