Fix TLS access for -static -pthread
[deliverable/binutils-gdb.git] / gdb / target.h
index 23a75664524e897b52225d5dd584ebcd654d8251..937152902aea40ad0b9fd64dbe1bc490a51ee1c2 100644 (file)
@@ -605,7 +605,8 @@ struct target_ops
        thread-local storage for the thread PTID and the shared library
        or executable file given by OBJFILE.  If that block of
        thread-local storage hasn't been allocated yet, this function
-       may return an error.  */
+       may return an error.  LOAD_MODULE_ADDR may be zero for statically
+       linked multithreaded inferiors.  */
     CORE_ADDR (*to_get_thread_local_address) (struct target_ops *ops,
                                              ptid_t ptid,
                                              CORE_ADDR load_module_addr,
This page took 0.031897 seconds and 4 git commands to generate.