diff options
author | John Baldwin <jhb@FreeBSD.org> | 2019-03-12 13:39:02 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2019-03-12 13:45:47 -0700 |
commit | 6e056c817845f3d736a1be6b68c69b439c6c6d25 (patch) | |
tree | c5757ebd000ccd8a2d63440d6ef19db9e8c89d8d /gdb/ChangeLog | |
parent | cd250a1898bb6fdb41f4a1063dbcfac04affcd11 (diff) | |
download | gdb-6e056c817845f3d736a1be6b68c69b439c6c6d25.zip gdb-6e056c817845f3d736a1be6b68c69b439c6c6d25.tar.gz gdb-6e056c817845f3d736a1be6b68c69b439c6c6d25.tar.bz2 |
Add a new gdbarch method to resolve the address of TLS variables.
Permit TLS variable addresses to be resolved purely by an ABI rather
than requiring a target method. This doesn't try the target method if
the ABI function is present (even if the ABI function fails) to
simplify error handling.
gdb/ChangeLog:
* gdbarch.sh (get_thread_local_address): New method.
* gdbarch.h, gdbarch.c: Regenerate.
* target.c (target_translate_tls_address): Use
gdbarch_get_thread_local_address if present instead of
target::get_thread_local_address.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2edc6d5..f644723 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2019-03-12 John Baldwin <jhb@FreeBSD.org> + * gdbarch.sh (get_thread_local_address): New method. + * gdbarch.h, gdbarch.c: Regenerate. + * target.c (target_translate_tls_address): Use + gdbarch_get_thread_local_address if present instead of + target::get_thread_local_address. + +2019-03-12 John Baldwin <jhb@FreeBSD.org> + * target.h (target::get_thread_local_address): Update comment. 2019-03-12 John Baldwin <jhb@FreeBSD.org> |