Centralize amd64-linux target descriptions
[deliverable/binutils-gdb.git] / gdb / amd64-linux-tdep.h
index 74534085a0b8ff5840fbb3ae9f266dacac88d563..ab134a45f8d0fef2404b4c2701d1bb40eecfa29b 100644 (file)
@@ -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.  */
This page took 0.024969 seconds and 4 git commands to generate.