diff options
author | Jeff Law <law@redhat.com> | 2001-12-19 19:16:50 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2001-12-19 19:16:50 +0000 |
commit | 6c482b8720cea840a16af1661d172504d94516e6 (patch) | |
tree | 6e3b445ba585030a329dc31bfa4f2e93021631d1 /gdb/infttrace.c | |
parent | 80fcf3f0239ba0b52443e722388fd329552e64a1 (diff) | |
download | binutils-gdb-6c482b8720cea840a16af1661d172504d94516e6.tar.gz |
* infttrate.c (child_acknowledge_created_inferior): Pass
correct argument to add_thread.
(update_thread_state_after_attach): Likewise.
Diffstat (limited to 'gdb/infttrace.c')
-rw-r--r-- | gdb/infttrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c index a920ead03c8..c3216a5f0e0 100644 --- a/gdb/infttrace.c +++ b/gdb/infttrace.c @@ -3123,7 +3123,7 @@ child_acknowledge_created_inferior (int pid) * the process safely to ask what it is. Anyway, we'll * add it when it gets the EXEC event. */ - add_thread (pid); /* in thread.c */ + add_thread (pid_to_ptid (pid)); /* in thread.c */ /* We can now set the child's ttrace event mask. */ @@ -4764,7 +4764,7 @@ update_thread_state_after_attach (int pid, attach_continue_t kind_of_go) } } - add_thread (tid); /* in thread.c */ + add_thread (pid_to_ptid (pid)); /* in thread.c */ } #ifdef PARANOIA |