aboutsummaryrefslogtreecommitdiff
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
commit3f47be5ca18951cf0633ef852a8223eb75536000 (patch)
treea8243ab67d3aca5e4dff0984ec5aa45866466b01 /gdb/findvar.c
parent4894709537fc5167264c453dc54c5965476f3905 (diff)
downloadbinutils-3f47be5ca18951cf0633ef852a8223eb75536000.zip
binutils-3f47be5ca18951cf0633ef852a8223eb75536000.tar.gz
binutils-3f47be5ca18951cf0633ef852a8223eb75536000.tar.bz2
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 dd3061b..9eff168 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;
}