* inf-ttrace.c (inf_ttrace_follow_fork): Register the main thread
authorPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:27:45 +0000 (21:27 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 8 Sep 2008 21:27:45 +0000 (21:27 +0000)
commit2935f27f6eb84ca95638010757ec58558c160ec7
tree0599f5f0f24328d4a6f8183e3d3a4778cb8e0b29
parentfb5e7258b364c6dc452e5126dfcf1b010a4cf8f7
* inf-ttrace.c (inf_ttrace_follow_fork): Register the main thread
of the child fork.
(inf_ttrace_attach): Add the main thread.
(inf_ttrace_resume_callback): Check for exited threads.  Adjust
for always a thread.
(inf_ttrace_wait): Decorate the main thread's ptid with lwp info
using thread_change_ptid, and set its private data.  Don't add the
main thread here.
(inf_ttrace_pid_to_str): Adjust.
gdb/ChangeLog
gdb/inf-ttrace.c
This page took 0.026033 seconds and 4 git commands to generate.