diff options
Diffstat (limited to 'gdb/arch/tdesc.h')
-rw-r--r-- | gdb/arch/tdesc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/arch/tdesc.h b/gdb/arch/tdesc.h index bf50e24..78bb0fb 100644 --- a/gdb/arch/tdesc.h +++ b/gdb/arch/tdesc.h @@ -23,6 +23,16 @@ struct tdesc_type; struct tdesc_reg; struct target_desc; +/* Allocate a new target_desc. */ +target_desc *allocate_target_description (void); + +/* Set TARGET_DESC's architecture by NAME. */ +void set_tdesc_architecture (target_desc *target_desc, + const char *name); + +/* Set TARGET_DESC's osabi by NAME. */ +void set_tdesc_osabi (target_desc *target_desc, const char *name); + /* Return the type associated with ID in the context of FEATURE, or NULL if none. */ struct tdesc_type *tdesc_named_type (const struct tdesc_feature *feature, |