From 3987b9d413c5f7f029a0a99d23b85a64935552e9 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Mon, 21 Oct 2002 20:12:56 +0000 Subject: [PATCH] 2002-10-21 Elena Zannoni * findvar.c (read_var_value): Temporarily disable TLS code, until complete TLS support is added. --- gdb/ChangeLog | 5 +++++ gdb/findvar.c | 6 ++++++ 2 files changed, 11 insertions(+) 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 + + * findvar.c (read_var_value): Temporarily disable TLS code, until + complete TLS support is added. + 2002-10-21 Jim Blandy Elena Zannoni 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; } -- 2.30.2