aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index daa0ae6..36f7c39 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -875,6 +875,8 @@ follow_types (follow_type)
break;
case tp_array:
array_size = pop_type_int ();
+ /* FIXME-type-allocation: need a way to free this type when we are
+ done with it. */
range_type =
create_range_type ((struct type *) NULL,
builtin_type_int, 0,
@@ -887,6 +889,8 @@ follow_types (follow_type)
= BOUND_CANNOT_BE_DETERMINED;
break;
case tp_function:
+ /* FIXME-type-allocation: need a way to free this type when we are
+ done with it. */
follow_type = lookup_function_type (follow_type);
break;
}