diff options
author | Andreas Schwab <schwab@suse.de> | 2018-07-12 09:24:36 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-08-06 12:51:59 -0700 |
commit | 92a4cba76076ce1aa0efa7b859708e057c2a757f (patch) | |
tree | 67d56ace5042e99bbed8184f6330ae77b2a45f50 /ChangeLog | |
parent | fb4c32aef64500c65c7fc95ca06d7e17d467be45 (diff) | |
download | glibc-92a4cba76076ce1aa0efa7b859708e057c2a757f.tar.gz glibc-92a4cba76076ce1aa0efa7b859708e057c2a757f.tar.xz glibc-92a4cba76076ce1aa0efa7b859708e057c2a757f.zip |
RISC-V: Don't use ps_get_thread_area in libthread_db (bug 23402)
Since RISC-V stores the thread pointer in a general register libthread_db can just ask the debugger for the register contents instead of trying to call ps_get_thread_area. This enables thread debugging in gdb. * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead of CONST_THREAD_AREA.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 1300491719..c8a1b70619 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-08-06 Andreas Schwab <schwab@suse.de> + + * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead + of CONST_THREAD_AREA. + 2018-08-06 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed. |