This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC/RFA] TLS support part 2
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc:
- Date: Mon, 11 Nov 2002 21:36:48 -0500
- Subject: Re: [RFC/RFA] TLS support part 2
- References: <15770.63097.522572.688579@localhost.redhat.com>
Elena Zannoni writes:
>
> Here is the thread/target related part of the TLS support.
>
> A new thread layer op has been added, to fetch the address of the variable.
>
> Elena
>
>
> 2002-10-02 Elena Zannoni <ezannoni@redhat.com>
> Jim Blandy <jimb@redhat.com>
>
> * gdb_thread_db.h (enum): Add TD_NOTALLOC.
> * target.c (update_current_target): Add
> to_get_thread_local_address.
> * target.h (to_get_thread_local_address): Export.
> (target_get_thread_local_address): Define.
> (target_get_thread_local_address_p): Define.
> * thread-db.c: Include solib-svr4.h.
> (td_thr_tls_get_addr_p): Define.
> (thread_db_load): Get a pointer to td_thr_tls_get_addr.
> (thread_db_get_thread_local_address): New function.
> (init_thread_db_ops): Initialize to_get_thread_local_address.
>
Committed.