aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-03-14 14:59:24 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-03-14 14:59:24 +0000
commit36633dcc4a70d3b57829bff8120db8fe7423de09 (patch)
treebf9cc4194f114e6ee7fd3ba764587710f372408b /gdb/parse.c
parenta3012272b0820f86cd29a35aee2fcce1ad32053a (diff)
downloadgdb-36633dcc4a70d3b57829bff8120db8fe7423de09.zip
gdb-36633dcc4a70d3b57829bff8120db8fe7423de09.tar.gz
gdb-36633dcc4a70d3b57829bff8120db8fe7423de09.tar.bz2
* valops.c (value_cast, value_slice), parse.c (follow_types): Add
FIXME-type-allocation comments.
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;
}