summaryrefslogtreecommitdiff
path: root/gdb/infttrace.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2000-09-21 16:17:49 +0000
committerFred Fish <fnf@specifix.com>2000-09-21 16:17:49 +0000
commit8533752ad310096050ab09e600e35ae377e0bad3 (patch)
tree59ef52749aca0ba294cd778feecb25e4ed83108c /gdb/infttrace.c
parent5d052ed6315c4e44f75513df77e2caa5af28ada6 (diff)
downloadgdb-8533752ad310096050ab09e600e35ae377e0bad3.tar.gz
* infttrace.c (update_thread_state_after_attach): Pass address
of ttstate_t object, not the object itself.
Diffstat (limited to 'gdb/infttrace.c')
-rw-r--r--gdb/infttrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index 9168ce31137..09e78f4cc69 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)