aboutsummaryrefslogtreecommitdiff
path: root/gdb/infttrace.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2001-12-19 19:16:50 +0000
committerJeff Law <law@redhat.com>2001-12-19 19:16:50 +0000
commit6c482b8720cea840a16af1661d172504d94516e6 (patch)
tree6e3b445ba585030a329dc31bfa4f2e93021631d1 /gdb/infttrace.c
parent80fcf3f0239ba0b52443e722388fd329552e64a1 (diff)
downloadgdb-6c482b8720cea840a16af1661d172504d94516e6.zip
gdb-6c482b8720cea840a16af1661d172504d94516e6.tar.gz
gdb-6c482b8720cea840a16af1661d172504d94516e6.tar.bz2
* 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index a920ead..c3216a5 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