* nto-tdep.c (nto_thread_state_str): New array.
authorAleksandar Ristovski <aristovski@qnx.com>
Tue, 28 Jul 2009 13:20:26 +0000 (13:20 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Tue, 28 Jul 2009 13:20:26 +0000 (13:20 +0000)
commit745a434e1500a955d8d5d4f0a7173b68d33a764e
treea7a8f29efe7548321750ef93aebdcd5de3423fa6
parent4ad4f3cb145c84f47512dfde2c1ff32be30659fd
* nto-tdep.c (nto_thread_state_str): New array.
(nto_extra_thread_info): New function definition.
* nto-tdep.h (gdbthread.h): New include.
(private_thread_info): New struct.
(nto_extra_thread_info): New declaration.
* nto-procfs.c (procfs_thread_alive): Properly check if
thread is still alive.
(update_thread_private_data_name, update_thread_private_data): New
function definition.
(procfs_find_new_threads): Fetch thread private data.
(init_procfs_ops): Register to_extra_thread_info.
gdb/ChangeLog
gdb/nto-procfs.c
gdb/nto-tdep.c
gdb/nto-tdep.h