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 /benchtests/bench-strrchr.c | |
parent | fb4c32aef64500c65c7fc95ca06d7e17d467be45 (diff) | |
download | glibc-92a4cba76076ce1aa0efa7b859708e057c2a757f.tar glibc-92a4cba76076ce1aa0efa7b859708e057c2a757f.tar.gz glibc-92a4cba76076ce1aa0efa7b859708e057c2a757f.tar.bz2 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 'benchtests/bench-strrchr.c')
0 files changed, 0 insertions, 0 deletions