diff options
author | Fred Fish <fnf@specifix.com> | 2000-09-21 16:17:49 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2000-09-21 16:17:49 +0000 |
commit | 8c6b089eed6ce82a6569fb5ccd53e587d803b8ea (patch) | |
tree | 249e7a971800d85551e09d95230f1387a50b2769 /gdb/infttrace.c | |
parent | e2eb67d9cbebb6a2280daa9e0e25f8eda1f456b3 (diff) | |
download | gdb-8c6b089eed6ce82a6569fb5ccd53e587d803b8ea.zip gdb-8c6b089eed6ce82a6569fb5ccd53e587d803b8ea.tar.gz gdb-8c6b089eed6ce82a6569fb5ccd53e587d803b8ea.tar.bz2 |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |