From 49a7660fb50cc3c68e7830eb098905d068a3ccbf Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 26 Mar 2024 18:52:44 +0000 Subject: Revert "gdb/gdbserver: share some code relating to target description creation" This reverts commit cd9b374ffe372dcaf7e4c15548cf53a301d8dcdd. --- gdb/amd64-linux-tdep.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/amd64-linux-tdep.h') 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. */ -- cgit v1.1