diff options
author | Per Bothner <per@bothner.com> | 1995-02-12 18:46:45 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1995-02-12 18:46:45 +0000 |
commit | 27202b6a4746af217ab914394a1ab9b111b1db3c (patch) | |
tree | f9ae67c6ffa2999f383a5da1abd94761b408d210 /gdb/dwarfread.c | |
parent | c44c67b5ae95c3e4201e0cbed7ebf429bc2d664a (diff) | |
download | gdb-27202b6a4746af217ab914394a1ab9b111b1db3c.zip gdb-27202b6a4746af217ab914394a1ab9b111b1db3c.tar.gz gdb-27202b6a4746af217ab914394a1ab9b111b1db3c.tar.bz2 |
* buildsym.c (finish_block): If finishing a function without known
parameter type info, set that from parameter symbols.
* c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
print parameter types, if available.
* ch-typeprint.c (chill_type_print_base): Likewise.
* gdbtypes.h (struct type): Remove function type field.
(TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
function types now that we're also storing parameter types.
And the payoff is much less.
* gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
(recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
* dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r-- | gdb/dwarfread.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index 5afe795..ec6182d 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -1600,7 +1600,6 @@ read_subroutine_type (dip, thisdie, enddie) /* We have an existing partially constructed type, so bash it into the correct type. */ TYPE_TARGET_TYPE (ftype) = type; - TYPE_FUNCTION_TYPE (type) = ftype; TYPE_LENGTH (ftype) = 1; TYPE_CODE (ftype) = TYPE_CODE_FUNC; } |