mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-13 05:20:44 +00:00
* infttrace.c (update_thread_state_after_attach): Pass address
of ttstate_t object, not the object itself.
This commit is contained in:
parent
e2eb67d9cb
commit
8c6b089eed
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user