]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbserver/inferiors.cc
* acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
authorDaniel Jacobowitz <drow@false.org>
Tue, 17 Oct 2006 16:02:27 +0000 (16:02 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 17 Oct 2006 16:02:27 +0000 (16:02 +0000)
commitdae5f5cf4b47e0c8b81c090316093ecf5777f770
tree7a7f4edbdd4892beda9c8424dc6445c998aeb2a4
parent5bd2f6e2a6179014300f75f86231e0e37736eb6b
* acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
* configure.ac: Use it.  Define HAVE_TD_THR_TLS_GET_ADDR.
* config.in, configure: Regenerated.
* inferiors.c (gdb_id_to_thread): New function.
(gdb_id_to_thread_id): Use it.
* linux-low.c (linux_target_ops): Use thread_db_get_tls_address.
* linux-low.h (struct process_info): Add th member.
(thread_db_get_tls_address): New prototype.
* remote-utils.c (decode_address): Make non-static.
* server.c (handle_query): Handle qGetTLSAddr.
* server.h (gdb_id_to_thread, decode_address): New prototypes.
* target.h (struct target_ops): Add get_tls_address.
* thread-db.c (maybe_attach_thread): Save the thread handle.
(thread_db_get_tls_address): New.
13 files changed:
gdb/gdbserver/ChangeLog
gdb/gdbserver/acinclude.m4
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/gdbserver/inferiors.c
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.c
gdb/gdbserver/server.h
gdb/gdbserver/target.h
gdb/gdbserver/thread-db.c