OSDN Git Service

* inferiors.c (get_thread_process): Make global.
authoruweigand <uweigand>
Fri, 3 Apr 2009 20:15:51 +0000 (20:15 +0000)
committeruweigand <uweigand>
Fri, 3 Apr 2009 20:15:51 +0000 (20:15 +0000)
commita0e19f35efe4c75358ea3655b545c7a3aaa934e9
tree23c191ebc8c3bb946c01427ec2df346657185cc6
parent0272ffc148c96908892100be04770f73916f7253
* inferiors.c (get_thread_process): Make global.
* server.h (get_thread_process): Add prototype.
* thread-db.c (find_one_thread): Use get_thread_process
instead of current_process.
(thread_db_get_tls_address): Do not crash if called when
thread layer is not yet initialized.
gdb/gdbserver/ChangeLog
gdb/gdbserver/inferiors.c
gdb/gdbserver/server.h
gdb/gdbserver/thread-db.c