diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-03-26 18:52:44 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-03-26 18:52:44 +0000 |
commit | 49a7660fb50cc3c68e7830eb098905d068a3ccbf (patch) | |
tree | 8471a0dcc41846551322f58510aa9aea098356c5 /gdb/amd64-linux-tdep.h | |
parent | 0991b56074af7e6b106015c67925fdcfe039f077 (diff) | |
download | gdb-49a7660fb50cc3c68e7830eb098905d068a3ccbf.zip gdb-49a7660fb50cc3c68e7830eb098905d068a3ccbf.tar.gz gdb-49a7660fb50cc3c68e7830eb098905d068a3ccbf.tar.bz2 |
Revert "gdb/gdbserver: share some code relating to target description creation"
This reverts commit cd9b374ffe372dcaf7e4c15548cf53a301d8dcdd.
Diffstat (limited to 'gdb/amd64-linux-tdep.h')
-rw-r--r-- | gdb/amd64-linux-tdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/amd64-linux-tdep.h b/gdb/amd64-linux-tdep.h index 0ec49e7..2003dcd 100644 --- a/gdb/amd64-linux-tdep.h +++ b/gdb/amd64-linux-tdep.h @@ -43,6 +43,12 @@ extern struct target_desc *tdesc_x32_linux; extern struct target_desc *tdesc_x32_avx_linux; extern struct target_desc *tdesc_x32_avx_avx512_linux; +/* Return the right amd64-linux target descriptions according to + XCR0_FEATURES_BIT and IS_X32. */ + +const target_desc *amd64_linux_read_description (uint64_t xcr0_features_bit, + bool is_x32); + /* Enum that defines the syscall identifiers for amd64 linux. Used for process record/replay, these will be translated into a gdb-canonical set of syscall ids in linux-record.c. */ |