aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-09-05 12:43:50 -0600
committerTom Tromey <tromey@adacore.com>2023-09-19 13:28:42 -0600
commitd559227272d72e554222361058163b9dc94de2f0 (patch)
treeeaa5cdab9bae387823ba7095460e42b010377234 /gdb/gdbtypes.h
parent8e032233a013cedc72c52b57a349c47522138594 (diff)
downloadgdb-d559227272d72e554222361058163b9dc94de2f0.zip
gdb-d559227272d72e554222361058163b9dc94de2f0.tar.gz
gdb-d559227272d72e554222361058163b9dc94de2f0.tar.bz2
Pass a type allocator to init_fixed_point_type
init_fixed_point_type currently takes an objfile and creates its own type allocator. However, for a later patch it is more convenient if this function accepts a type allocator. This patch makes this change.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r--gdb/gdbtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index f667b10..df94e95 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -2379,7 +2379,7 @@ extern struct type *init_pointer_type (type_allocator &alloc, int bit,
const char *name,
struct type *target_type);
-extern struct type *init_fixed_point_type (struct objfile *, int, int,
+extern struct type *init_fixed_point_type (type_allocator &, int, int,
const char *);
/* Helper functions to construct a struct or record type. An