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/riscv-fbsd-tdep.c | |
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/riscv-fbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions