diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-05-03 16:05:10 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-03 16:05:10 -0700 |
commit | 9c27bc99e4e1c4fbf51dc8f6186f0fdd5994a38b (patch) | |
tree | 6ab02ff6a7f93a3b4fb63a6dac4dfbbd65260a1e /gdbserver/linux-aarch64-ipa.cc | |
parent | 224151d7748ef13df82878067266cfaa9861e360 (diff) |
gdbserver: Read the tpidr register from NT_ARM_TLS on Linux.
Diffstat (limited to 'gdbserver/linux-aarch64-ipa.cc')
-rw-r--r-- | gdbserver/linux-aarch64-ipa.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdbserver/linux-aarch64-ipa.cc b/gdbserver/linux-aarch64-ipa.cc index 296c63534d8..dc907d3ff88 100644 --- a/gdbserver/linux-aarch64-ipa.cc +++ b/gdbserver/linux-aarch64-ipa.cc @@ -147,12 +147,12 @@ get_raw_reg (const unsigned char *raw_regs, int regnum) /* Return target_desc to use for IPA, given the tdesc index passed by gdbserver. Index is ignored, since we have only one tdesc - at the moment. SVE, pauth and MTE not yet supported. */ + at the moment. SVE, pauth, MTE and TLS not yet supported. */ const struct target_desc * get_ipa_tdesc (int idx) { - return aarch64_linux_read_description (0, false, false); + return aarch64_linux_read_description (0, false, false, false); } /* Allocate buffer for the jump pads. The branch instruction has a reach @@ -204,6 +204,6 @@ alloc_jump_pad_buffer (size_t size) void initialize_low_tracepoint (void) { - /* SVE, pauth and MTE not yet supported. */ - aarch64_linux_read_description (0, false, false); + /* SVE, pauth, MTE and TLS not yet supported. */ + aarch64_linux_read_description (0, false, false, false); } |