summaryrefslogtreecommitdiff
path: root/gdb/dstread.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2001-07-06 19:17:05 +0000
committerDaniel Berlin <dberlin@dberlin.org>2001-07-06 19:17:05 +0000
commitefae50153d4577bd05fc34b76c47bdca79982233 (patch)
treeebfdde719009a58b2f719cb06926eb6aab787aba /gdb/dstread.c
parentd30f071864b3938dd9d197547c65b33980a243f8 (diff)
downloadgdb-cvs/dberlin-typesystem-branch.tar.gz
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.c2
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;