summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-10-21 20:12:56 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-10-21 20:12:56 +0000
commitc8b409522b5627cd1a1fd88ef7d1afac3cbeed37 (patch)
treebaa1575b3db1ed74060690cb72227204391c064c
parentc08834975df1b218495e7bc366a30e53a711f905 (diff)
downloadgdb-c8b409522b5627cd1a1fd88ef7d1afac3cbeed37.tar.gz
2002-10-21 Elena Zannoni <ezannoni@redhat.com>
* findvar.c (read_var_value): Temporarily disable TLS code, until complete TLS support is added.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/findvar.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 09ecdbe8e9b..76f9fb640e1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-21 Elena Zannoni <ezannoni@redhat.com>
+
+ * findvar.c (read_var_value): Temporarily disable TLS code, until
+ complete TLS support is added.
+
2002-10-21 Jim Blandy <jimb@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
diff --git a/gdb/findvar.c b/gdb/findvar.c
index 9eff168ddca..dd3061b8b35 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -544,6 +544,11 @@ 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. */
@@ -555,6 +560,7 @@ 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;
}