[RFC/RFA] TLS support part 2

Elena Zannoni ezannoni@redhat.com
Mon Nov 11 18:41:00 GMT 2002


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.



More information about the Gdb-patches mailing list