This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] stopgap for TLS
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 21 Oct 2002 16:08:14 -0400
- Subject: [PATCH] stopgap for TLS
I overlooked the fact that one part of the patch needed approval. I am
disabling this bit of the code I just checked in, otherwise findvar.c
won't build.
Elena
2002-10-21 Elena Zannoni <ezannoni@redhat.com>
* findvar.c (read_var_value): Temporarily disable TLS code, until
complete TLS support is added.
Index: findvar.c
===================================================================
RCS file: /cvs/src/src/gdb/findvar.c,v
retrieving revision 1.37
diff -u -p -r1.37 findvar.c
--- findvar.c 21 Oct 2002 19:11:50 -0000 1.37
+++ findvar.c 21 Oct 2002 20:01:15 -0000
@@ -544,6 +544,11 @@ 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. */
@@ -555,6 +560,7 @@ 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;
}