diff options
author | Pedro Alves <palves@redhat.com> | 2008-09-08 21:31:54 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-09-08 21:31:54 +0000 |
commit | 2689673f4559834c475fde6c1638a0b9a064d1f4 (patch) | |
tree | 8cc0a586bf33c41a70c28f15a75c7c1a9c4a2cfe /gdb/i386gnu-nat.c | |
parent | 62a93fa9cbc7a5db0db8919f1a0b76ff401f7af5 (diff) | |
download | gdb-2689673f4559834c475fde6c1638a0b9a064d1f4.zip gdb-2689673f4559834c475fde6c1638a0b9a064d1f4.tar.gz gdb-2689673f4559834c475fde6c1638a0b9a064d1f4.tar.bz2 |
* procfs.c (to_attach): Create a procinfo for the current lwp.
Add it to gdb's thread list.
(procfs_fetch_registers, procfs_store_registers): Assume there's
always an lwp.
(procfs_wait): Don't add the main thread here.
(procfs_init_inferior): Create a procinfo for the main lwp here.
Change main thread's ptid with thread_change_ptid.
(procfs_notice_thread): Check for exited threads.
(procfs_corefile_thread_callback): Remove check for the main
process.
(procfs_make_note_section): Assume there is always a thread.
* sol-thread.c (sol_thread_attach): Clear sol_thread_active before
attaching. Change the main thread ptid with thread_change_ptid.
(sol_thread_detach): Clear sol_thread_active.
(sol_thread_wait): Check for exited threads.
(sol_thread_create_inferior): Clear sol_thread_active before
creating a new inferior. Change the main thread ptid with
thread_change_ptid.
(sol_thread_mourn_inferior): Clear sol_thread_active.
(sol_find_new_threads_callback): Check for exited threads.
Diffstat (limited to 'gdb/i386gnu-nat.c')
0 files changed, 0 insertions, 0 deletions