diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2001-07-06 19:17:05 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2001-07-06 19:17:05 +0000 |
commit | efae50153d4577bd05fc34b76c47bdca79982233 (patch) | |
tree | ebfdde719009a58b2f719cb06926eb6aab787aba /gdb/dstread.c | |
parent | d30f071864b3938dd9d197547c65b33980a243f8 (diff) | |
download | gdb-cvs/dberlin-typesystem-branch.tar.gz |
Typesystem work initial import.dberlin-typesystem-branchcvs/dberlin-typesystem-branch
Note that this currently isn't building, i'm in the middle of converting make_function_type/lookup_function_type
Diffstat (limited to 'gdb/dstread.c')
-rw-r--r-- | gdb/dstread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dstread.c b/gdb/dstread.c index c3a73f064cd..167b1dfd842 100644 --- a/gdb/dstread.c +++ b/gdb/dstread.c @@ -1308,7 +1308,7 @@ process_dst_function (struct objfile *objfile, dst_rec_ptr_t entry, char *name, { ftype = create_new_type (objfile); type->function_type = ftype; - ftype->target_type = type; + FUNCTION_RETURN_VALUE (ftype) = type; ftype->code = TYPE_CODE_FUNC; } SYMBOL_TYPE (sym) = type->function_type; |