[PATCH] stopgap for TLS

Elena Zannoni ezannoni@redhat.com
Mon Oct 21 13:11:00 GMT 2002


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;
       }



More information about the Gdb-patches mailing list