46 #ifndef IN_PROCESS_AGENT 94 || (tdesc->features != NULL
95 && tdesc->
arch != NULL));
101 buffer +=
"<!DOCTYPE target SYSTEM \"gdb-target.dtd\">";
103 buffer +=
"<architecture>";
105 buffer +=
"</architecture>";
107 if (tdesc->
osabi !=
nullptr)
118 buffer +=
"<xi:include href=\"";
141 #ifndef IN_PROCESS_AGENT 149 tdesc_type_with_fields *
160 const char *flag_name)
173 tdesc_type_with_fields *
181 tdesc_type_with_fields *
191 int regnum,
int save_restore,
const char *group,
192 int bitsize,
const char *type)
198 struct reg *reg =
XCNEW (
struct reg);
208 struct reg *reg =
XCNEW (
struct reg);
struct thread_info * current_thread
const char ** expedite_regs
void tdesc_create_reg(struct tdesc_feature *feature, const char *name, int regnum, int save_restore, const char *group, int bitsize, const char *type)
void tdesc_add_bitfield(tdesc_type_with_fields *type, const char *field_name, int start, int end)
void set_tdesc_architecture(struct target_desc *target_desc, const char *name)
#define VEC_safe_push(T, V, O)
const char * tdesc_get_features_xml(target_desc *tdesc)
const struct target_desc * tdesc
char * xstrdup(const char *s)
struct target_desc * allocate_target_description(void)
struct tdesc_type * tdesc_create_vector(struct tdesc_feature *feature, const char *name, struct tdesc_type *field_type, int count)
struct tdesc_feature * tdesc_create_feature(struct target_desc *tdesc, const char *name, const char *xml)
#define VEC_iterate(T, V, I, P)
void copy_target_description(struct target_desc *dest, const struct target_desc *src)
void tdesc_set_struct_size(tdesc_type_with_fields *type, int size)
tdesc_type_with_fields * tdesc_create_struct(struct tdesc_feature *feature, const char *id)
tdesc_type_with_fields * tdesc_create_union(struct tdesc_feature *feature, const char *id)
struct process_info * current_process(void)
std::vector< struct reg * > reg_defs
void init_target_desc(struct target_desc *tdesc)
const struct target_desc * current_target_desc(void)
void tdesc_add_field(tdesc_type_with_fields *type, const char *field_name, struct tdesc_type *field_type)
struct tdesc_type * tdesc_named_type(const struct tdesc_feature *feature, const char *id)
tdesc_type_with_fields * tdesc_create_flags(struct tdesc_feature *feature, const char *name, int size)
void set_tdesc_osabi(struct target_desc *target_desc, const char *name)
void tdesc_add_flag(tdesc_type_with_fields *type, int start, const char *flag_name)