summaryrefslogtreecommitdiff
path: root/gdb/findvar.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-11-12 02:39:41 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-11-12 02:39:41 +0000
commitb68fecf311916a401dc38463bed6c94822fab51d (patch)
treed6b2aadcb6dd367c257738f1954703f0da192299 /gdb/findvar.c
parent72f894aab5990ff219c34f20f91a693aa7c74cc4 (diff)
downloadgdb-b68fecf311916a401dc38463bed6c94822fab51d.tar.gz
2002-11-11 Elena Zannoni <ezannoni@redhat.com>
* findvar.c (read_var_value): Reenable TLS code. 2002-11-11 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. * configure.in: Add test for TD_NOTALLOC in thread_db.h. * configure: Regenerate. * config.in: Regenerate.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r--gdb/findvar.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c
index dd3061b8b35..9eff168ddca 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -544,11 +544,6 @@ addresses have not been bound by the dynamic loader. Try again when executable i
case LOC_THREAD_LOCAL_STATIC:
{
-#if 0
- /* FIXME: ezannoni 2002-10-21: Temporarly disable the code
- below, until the rest of the TLS support code is checked
- in. */
-
/* We want to let the target / ABI-specific code construct
this value for us, so we need to dispose of the value
allocated for us above. */
@@ -560,7 +555,6 @@ addresses have not been bound by the dynamic loader. Try again when executable i
finding TLS is an ABI-specific thing. But we don't do that
yet. */
else
-#endif
error ("Cannot find thread-local variables on this target");
break;
}