aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-03-12 13:39:02 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2019-03-12 13:45:47 -0700
commitcd250a1898bb6fdb41f4a1063dbcfac04affcd11 (patch)
treea1026adadf058bef32a9462b27d385518df8775f /gdb/target.h
parentdf22c1e5d53c38f38bce6072bb46de240f9e0e2b (diff)
downloadgdb-cd250a1898bb6fdb41f4a1063dbcfac04affcd11.zip
gdb-cd250a1898bb6fdb41f4a1063dbcfac04affcd11.tar.gz
gdb-cd250a1898bb6fdb41f4a1063dbcfac04affcd11.tar.bz2
Update comment for target::get_thread_local_address.
There isn't an 'objfile' parameter, instead 'load_module_addr' is used to indicate the executable or shared library. Also, the function throws errors rather than returning error values. gdb/ChangeLog: * target.h (target::get_thread_local_address): Update comment.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h
index c95151a..5fe6aa7 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -718,9 +718,9 @@ struct target_ops
TARGET_DEFAULT_NORETURN (tcomplain ());
/* Return the thread-local address at OFFSET in the
thread-local storage for the thread PTID and the shared library
- or executable file given by OBJFILE. If that block of
+ or executable file given by LOAD_MODULE_ADDR. If that block of
thread-local storage hasn't been allocated yet, this function
- may return an error. LOAD_MODULE_ADDR may be zero for statically
+ may throw an error. LOAD_MODULE_ADDR may be zero for statically
linked multithreaded inferiors. */
virtual CORE_ADDR get_thread_local_address (ptid_t ptid,
CORE_ADDR load_module_addr,