GDB (API)
Functions
/home/stan/gdb/src/gdb/target-descriptions.h File Reference

Go to the source code of this file.

Functions

void target_find_description (void)
void target_clear_description (void)
struct target_desc * target_current_description (void)
void copy_inferior_target_desc_info (struct inferior *destinf, struct inferior *srcinf)
void target_desc_info_free (struct target_desc_info *tdesc_info)
int target_desc_info_from_user_p (struct target_desc_info *info)
void set_tdesc_pseudo_register_name (struct gdbarch *gdbarch, gdbarch_register_name_ftype *pseudo_name)
void set_tdesc_pseudo_register_type (struct gdbarch *gdbarch, gdbarch_register_type_ftype *pseudo_type)
void set_tdesc_pseudo_register_reggroup_p (struct gdbarch *gdbarch, gdbarch_register_reggroup_p_ftype *pseudo_reggroup_p)
void tdesc_use_registers (struct gdbarch *gdbarch, const struct target_desc *target_desc, struct tdesc_arch_data *early_data)
struct tdesc_arch_data * tdesc_data_alloc (void)
void tdesc_data_cleanup (void *data_untyped)
int tdesc_numbered_register (const struct tdesc_feature *feature, struct tdesc_arch_data *data, int regno, const char *name)
int tdesc_unnumbered_register (const struct tdesc_feature *feature, const char *name)
int tdesc_register_size (const struct tdesc_feature *feature, const char *name)
int tdesc_numbered_register_choices (const struct tdesc_feature *feature, struct tdesc_arch_data *data, int regno, const char *const names[])
struct bfd_arch_info * tdesc_architecture (const struct target_desc *)
enum gdb_osabi tdesc_osabi (const struct target_desc *)
int tdesc_compatible_p (const struct target_desc *, const struct bfd_arch_info *)
const char * tdesc_property (const struct target_desc *, const char *key)
int tdesc_has_registers (const struct target_desc *)
struct tdesc_feature * tdesc_find_feature (const struct target_desc *, const char *name)
const char * tdesc_feature_name (const struct tdesc_feature *feature)
struct tdesc_type * tdesc_named_type (const struct tdesc_feature *feature, const char *id)
const char * tdesc_register_name (struct gdbarch *gdbarch, int regno)
struct typetdesc_register_type (struct gdbarch *gdbarch, int regno)
struct typetdesc_find_type (struct gdbarch *gdbarch, const char *id)
int tdesc_register_in_reggroup_p (struct gdbarch *gdbarch, int regno, struct reggroup *reggroup)
struct target_desc * allocate_target_description (void)
struct cleanup * make_cleanup_free_target_description (struct target_desc *)
void set_tdesc_architecture (struct target_desc *, const struct bfd_arch_info *)
void set_tdesc_osabi (struct target_desc *, enum gdb_osabi osabi)
void set_tdesc_property (struct target_desc *, const char *key, const char *value)
void tdesc_add_compatible (struct target_desc *, const struct bfd_arch_info *)
struct tdesc_feature * tdesc_create_feature (struct target_desc *tdesc, const char *name)
struct tdesc_type * tdesc_create_vector (struct tdesc_feature *feature, const char *name, struct tdesc_type *field_type, int count)
struct tdesc_type * tdesc_create_struct (struct tdesc_feature *feature, const char *name)
void tdesc_set_struct_size (struct tdesc_type *type, LONGEST size)
struct tdesc_type * tdesc_create_union (struct tdesc_feature *feature, const char *name)
struct tdesc_type * tdesc_create_flags (struct tdesc_feature *feature, const char *name, LONGEST size)
void tdesc_add_field (struct tdesc_type *type, const char *field_name, struct tdesc_type *field_type)
void tdesc_add_bitfield (struct tdesc_type *type, const char *field_name, int start, int end)
void tdesc_add_flag (struct tdesc_type *type, int start, const char *flag_name)
void tdesc_create_reg (struct tdesc_feature *feature, const char *name, int regnum, int save_restore, const char *group, int bitsize, const char *type)

Function Documentation

struct target_desc* allocate_target_description ( void  ) [read]

Definition at line 1448 of file target-descriptions.c.

void copy_inferior_target_desc_info ( struct inferior destinf,
struct inferior srcinf 
)

Definition at line 286 of file target-descriptions.c.

struct cleanup* make_cleanup_free_target_description ( struct target_desc *  ) [read]

Definition at line 1482 of file target-descriptions.c.

void set_tdesc_architecture ( struct target_desc *  ,
const struct bfd_arch_info *   
)

Definition at line 1532 of file target-descriptions.c.

void set_tdesc_osabi ( struct target_desc *  ,
enum gdb_osabi  osabi 
)

Definition at line 1539 of file target-descriptions.c.

void set_tdesc_property ( struct target_desc *  ,
const char *  key,
const char *  value 
)

Definition at line 1512 of file target-descriptions.c.

void set_tdesc_pseudo_register_name ( struct gdbarch *  gdbarch,
gdbarch_register_name_ftype pseudo_name 
)

Definition at line 1120 of file target-descriptions.c.

void set_tdesc_pseudo_register_reggroup_p ( struct gdbarch *  gdbarch,
gdbarch_register_reggroup_p_ftype pseudo_reggroup_p 
)

Definition at line 1139 of file target-descriptions.c.

void set_tdesc_pseudo_register_type ( struct gdbarch *  gdbarch,
gdbarch_register_type_ftype pseudo_type 
)

Definition at line 1129 of file target-descriptions.c.

void target_clear_description ( void  )

Definition at line 387 of file target-descriptions.c.

struct target_desc* target_current_description ( void  ) [read]

Definition at line 408 of file target-descriptions.c.

void target_desc_info_free ( struct target_desc_info *  tdesc_info)

Definition at line 299 of file target-descriptions.c.

int target_desc_info_from_user_p ( struct target_desc_info *  info)

Definition at line 278 of file target-descriptions.c.

void target_find_description ( void  )

Definition at line 325 of file target-descriptions.c.

void tdesc_add_bitfield ( struct tdesc_type *  type,
const char *  field_name,
int  start,
int  end 
)

Definition at line 1389 of file target-descriptions.c.

void tdesc_add_compatible ( struct target_desc *  ,
const struct bfd_arch_info *   
)

Definition at line 1488 of file target-descriptions.c.

void tdesc_add_field ( struct tdesc_type *  type,
const char *  field_name,
struct tdesc_type *  field_type 
)

Definition at line 1372 of file target-descriptions.c.

void tdesc_add_flag ( struct tdesc_type *  type,
int  start,
const char *  flag_name 
)

Definition at line 1404 of file target-descriptions.c.

struct bfd_arch_info* tdesc_architecture ( const struct target_desc *  ) [read]

Definition at line 462 of file target-descriptions.c.

int tdesc_compatible_p ( const struct target_desc *  ,
const struct bfd_arch_info *   
)

Definition at line 420 of file target-descriptions.c.

struct tdesc_feature* tdesc_create_feature ( struct target_desc *  tdesc,
const char *  name 
) [read]

Definition at line 1437 of file target-descriptions.c.

struct tdesc_type* tdesc_create_flags ( struct tdesc_feature *  feature,
const char *  name,
LONGEST  size 
) [read]

Definition at line 1354 of file target-descriptions.c.

void tdesc_create_reg ( struct tdesc_feature *  feature,
const char *  name,
int  regnum,
int  save_restore,
const char *  group,
int  bitsize,
const char *  type 
)

Definition at line 1241 of file target-descriptions.c.

struct tdesc_type* tdesc_create_struct ( struct tdesc_feature *  feature,
const char *  name 
) [read]

Definition at line 1319 of file target-descriptions.c.

struct tdesc_type* tdesc_create_union ( struct tdesc_feature *  feature,
const char *  name 
) [read]

Definition at line 1342 of file target-descriptions.c.

struct tdesc_type* tdesc_create_vector ( struct tdesc_feature *  feature,
const char *  name,
struct tdesc_type *  field_type,
int  count 
) [read]

Definition at line 1304 of file target-descriptions.c.

struct tdesc_arch_data* tdesc_data_alloc ( void  ) [read]

Definition at line 805 of file target-descriptions.c.

void tdesc_data_cleanup ( void *  data_untyped)

Definition at line 815 of file target-descriptions.c.

const char* tdesc_feature_name ( const struct tdesc_feature *  feature)

Definition at line 520 of file target-descriptions.c.

struct tdesc_feature* tdesc_find_feature ( const struct target_desc *  ,
const char *  name 
) [read]

Definition at line 502 of file target-descriptions.c.

struct type* tdesc_find_type ( struct gdbarch *  gdbarch,
const char *  id 
) [read]

Definition at line 571 of file target-descriptions.c.

int tdesc_has_registers ( const struct target_desc *  )

Definition at line 481 of file target-descriptions.c.

struct tdesc_type* tdesc_named_type ( const struct tdesc_feature *  feature,
const char *  id 
) [read]

Definition at line 550 of file target-descriptions.c.

int tdesc_numbered_register ( const struct tdesc_feature *  feature,
struct tdesc_arch_data *  data,
int  regno,
const char *  name 
)

Definition at line 844 of file target-descriptions.c.

int tdesc_numbered_register_choices ( const struct tdesc_feature *  feature,
struct tdesc_arch_data *  data,
int  regno,
const char *const  names[] 
)

Definition at line 882 of file target-descriptions.c.

enum gdb_osabi tdesc_osabi ( const struct target_desc *  )

Definition at line 471 of file target-descriptions.c.

const char* tdesc_property ( const struct target_desc *  ,
const char *  key 
)

Definition at line 445 of file target-descriptions.c.

int tdesc_register_in_reggroup_p ( struct gdbarch *  gdbarch,
int  regno,
struct reggroup *  reggroup 
)

Definition at line 1055 of file target-descriptions.c.

const char* tdesc_register_name ( struct gdbarch *  gdbarch,
int  regno 
)

Definition at line 934 of file target-descriptions.c.

int tdesc_register_size ( const struct tdesc_feature *  feature,
const char *  name 
)

Definition at line 899 of file target-descriptions.c.

struct type* tdesc_register_type ( struct gdbarch *  gdbarch,
int  regno 
) [read]

Definition at line 955 of file target-descriptions.c.

void tdesc_set_struct_size ( struct tdesc_type *  type,
LONGEST  size 
)

Definition at line 1335 of file target-descriptions.c.

int tdesc_unnumbered_register ( const struct tdesc_feature *  feature,
const char *  name 
)

Definition at line 867 of file target-descriptions.c.

void tdesc_use_registers ( struct gdbarch *  gdbarch,
const struct target_desc *  target_desc,
struct tdesc_arch_data *  early_data 
)

Definition at line 1150 of file target-descriptions.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines