18#include "gdbsupport/common-defs.h"
20#include "gdbsupport/x86-xstate.h"
45#ifndef IN_PROCESS_AGENT
47 is_x32 ?
"i386:x64-32" :
"i386:x86-64");
66 if (xcr0 & X86_XSTATE_AVX)
69 if ((xcr0 & X86_XSTATE_MPX) && !is_x32)
72 if (xcr0 & X86_XSTATE_AVX512)
75 if (xcr0 & X86_XSTATE_PKRU)
78 return tdesc.release ();
static int create_feature_i386_64bit_avx512(struct target_desc *result, long regnum)
static int create_feature_i386_64bit_avx(struct target_desc *result, long regnum)
static int create_feature_i386_64bit_core(struct target_desc *result, long regnum)
static int create_feature_i386_64bit_linux(struct target_desc *result, long regnum)
static int create_feature_i386_64bit_mpx(struct target_desc *result, long regnum)
static int create_feature_i386_64bit_segments(struct target_desc *result, long regnum)
static int create_feature_i386_64bit_sse(struct target_desc *result, long regnum)
target_desc * amd64_create_target_description(uint64_t xcr0, bool is_x32, bool is_linux, bool segments)
static int create_feature_i386_pkeys(struct target_desc *result, long regnum)
void set_tdesc_architecture(struct target_desc *target_desc, const char *name)
void set_tdesc_osabi(struct target_desc *target_desc, const char *name)
target_desc_up allocate_target_description(void)
static int create_feature_i386_x32_core(struct target_desc *result, long regnum)