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:48 -0700 |
commit | ce25aa57a3cdd028be5868423e6e55506ccd1053 (patch) | |
tree | d72c8af64c8d5538ad2a82dcaebacfcab3ec3dbb /gdb/ChangeLog | |
parent | f5424cfa7e9337a6cb02a1f83c9feea0995c5350 (diff) | |
download | gdb-ce25aa57a3cdd028be5868423e6e55506ccd1053.zip gdb-ce25aa57a3cdd028be5868423e6e55506ccd1053.tar.gz gdb-ce25aa57a3cdd028be5868423e6e55506ccd1053.tar.bz2 |
Support TLS variables on FreeBSD/i386.
Derive the pointer to the DTV array from the gs_base register. As
with FreeBSD/amd64, gs_base is currently only available via the native
target.
gdb/ChangeLog:
* i386-fbsd-tdep.c (i386fbsd_get_thread_local_address): New.
(i386fbsd_init_abi): Install gdbarch
"fetch_tls_load_module_address" and "get_thread_local_address"
methods.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2268dd2..b26f554 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2019-03-12 John Baldwin <jhb@FreeBSD.org> + * i386-fbsd-tdep.c (i386fbsd_get_thread_local_address): New. + (i386fbsd_init_abi): Install gdbarch + "fetch_tls_load_module_address" and "get_thread_local_address" + methods. + +2019-03-12 John Baldwin <jhb@FreeBSD.org> + * amd64-fbsd-tdep.c (amd64fbsd_get_thread_local_address): New. (amd64fbsd_init_abi): Install gdbarch "fetch_tls_load_module_address" and "get_thread_local_address" |