summaryrefslogtreecommitdiff
path: root/devel/gdb/files/commit-cd250a1898
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdb/files/commit-cd250a1898')
-rw-r--r--devel/gdb/files/commit-cd250a189830
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/gdb/files/commit-cd250a1898 b/devel/gdb/files/commit-cd250a1898
new file mode 100644
index 000000000000..c50c0f572b1a
--- /dev/null
+++ b/devel/gdb/files/commit-cd250a1898
@@ -0,0 +1,30 @@
+commit cd250a1898bb6fdb41f4a1063dbcfac04affcd11
+Author: John Baldwin <jhb@FreeBSD.org>
+Date: Tue Mar 12 13:39:02 2019 -0700
+
+ 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.
+
+diff --git gdb/target.h gdb/target.h
+index c95151a404..5fe6aa74b0 100644
+--- gdb/target.h
++++ 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,