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 | |
parent | e2eb67d9cbebb6a2280daa9e0e25f8eda1f456b3 (diff) | |
download | binutils-gdb-8c6b089eed6ce82a6569fb5ccd53e587d803b8ea.tar.gz |
* infttrace.c (update_thread_state_after_attach): Pass address
of ttstate_t object, not the object itself.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/infttrace.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 92bbe8e3011..c8dacffbdaa 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 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) |