This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] findvar.c: re-enable TLS
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 11 Nov 2002 21:38:56 -0500
- Subject: [PATCH] findvar.c: re-enable TLS
i reverted this patch:
http://sources.redhat.com/ml/gdb-patches/2002-10/msg00350.html
2002-11-11 Elena Zannoni <ezannoni@redhat.com>
* findvar.c (read_var_value): Reenable TLS code.
Index: findvar.c
===================================================================
RCS file: /cvs/src/src/gdb/findvar.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- findvar.c 21 Oct 2002 20:11:36 -0000 1.38
+++ findvar.c 12 Nov 2002 02:39:40 -0000 1.39
@@ -544,11 +544,6 @@ addresses have not been bound by the dyn
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 dyn
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;