diff options
Diffstat (limited to 'gdb/gdbserver/tdesc.c')
-rw-r--r-- | gdb/gdbserver/tdesc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/gdbserver/tdesc.c b/gdb/gdbserver/tdesc.c index e2c4288..5ea2341 100644 --- a/gdb/gdbserver/tdesc.c +++ b/gdb/gdbserver/tdesc.c @@ -146,7 +146,7 @@ tdesc_create_feature (struct target_desc *tdesc, const char *name, /* See arch/tdesc.h. */ -struct tdesc_type * +tdesc_type_with_fields * tdesc_create_flags (struct tdesc_feature *feature, const char *name, int size) { @@ -156,7 +156,7 @@ tdesc_create_flags (struct tdesc_feature *feature, const char *name, /* See arch/tdesc.h. */ void -tdesc_add_flag (struct tdesc_type *type, int start, +tdesc_add_flag (tdesc_type_with_fields *type, int start, const char *flag_name) {} @@ -170,7 +170,7 @@ tdesc_named_type (const struct tdesc_feature *feature, const char *id) /* See arch/tdesc.h. */ -struct tdesc_type * +tdesc_type_with_fields * tdesc_create_union (struct tdesc_feature *feature, const char *id) { return NULL; @@ -178,7 +178,7 @@ tdesc_create_union (struct tdesc_feature *feature, const char *id) /* See arch/tdesc.h. */ -struct tdesc_type * +tdesc_type_with_fields * tdesc_create_struct (struct tdesc_feature *feature, const char *id) { return NULL; @@ -222,20 +222,20 @@ tdesc_create_vector (struct tdesc_feature *feature, const char *name, } void -tdesc_add_bitfield (struct tdesc_type *type, const char *field_name, +tdesc_add_bitfield (tdesc_type_with_fields *type, const char *field_name, int start, int end) {} /* See arch/tdesc.h. */ void -tdesc_add_field (struct tdesc_type *type, const char *field_name, +tdesc_add_field (tdesc_type_with_fields *type, const char *field_name, struct tdesc_type *field_type) {} /* See arch/tdesc.h. */ void -tdesc_set_struct_size (struct tdesc_type *type, int size) +tdesc_set_struct_size (tdesc_type_with_fields *type, int size) { } |