* infttrace.c (update_thread_state_after_attach): Pass address

of ttstate_t object, not the object itself.
This commit is contained in:
Fred Fish 2000-09-21 16:17:49 +00:00
parent e2eb67d9cb
commit 8c6b089eed
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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)