* buildsym.c (finish_block): If finishing a function without known
authorPer Bothner <per@bothner.com>
Sun, 12 Feb 1995 18:46:45 +0000 (18:46 +0000)
committerPer Bothner <per@bothner.com>
Sun, 12 Feb 1995 18:46:45 +0000 (18:46 +0000)
commit27202b6a4746af217ab914394a1ab9b111b1db3c
treef9ae67c6ffa2999f383a5da1abd94761b408d210
parentc44c67b5ae95c3e4201e0cbed7ebf429bc2d664a
* 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.
gdb/ChangeLog
gdb/buildsym.c
gdb/c-typeprint.c
gdb/ch-typeprint.c
gdb/dwarfread.c
gdb/gdbtypes.c
gdb/gdbtypes.h