aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infttrace.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 92bbe8e..c8dacff 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-06 Fred Fish <fnf@cygnus.com>
+
+ * infttrace.c (update_thread_state_after_attach): Pass address
+ of ttstate_t object, not the object itself.
+
2000-09-18 Mark Kettenis <kettenis@gnu.org>
* lin-lwp.c (stop_wait_callback): Remove bogus assertions in the
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index 9168ce3..09e78f4 100644
--- a/gdb/infttrace.c
+++ b/gdb/infttrace.c
@@ -4711,7 +4711,7 @@ update_thread_state_after_attach (int pid, attach_continue_t kind_of_go)
if (NULL == p) /* ?We just added it! */
error ("Internal error adding a thread on attach.");
- copy_ttstate_t (&p->last_stop_state, thread_state);
+ copy_ttstate_t (&p->last_stop_state, &thread_state);
p->have_state = 1;
if (DO_ATTACH_CONTINUE == kind_of_go)