* buildsym.c (finish_block): Treat LOC_BASEREG_ARG and

LOC_LOCAL_ARG as arguments so that GDB will know about function
	args declared this way.  Mostly affects dwarf.
	* dwarfread.c (decode_die_type):  Change default type from int to
	void.  This allows GDB to recognize void functions.
	* (new_symbol):  If AT_PROTOTYPED is present, set a flag in the
	type structure.
	* findvar.c (extract_floating store_floating):  Clean up comments
	to reflect reality.
	* gdbtypes.h:  Add TYPE_FLAG_PROTOTYPED so that we can tell if a
	function has a prototype.  Currently, only dwarf supports this.
	* utils.c (floatformat_from_doublest):  Fix logic error with
	converting from double to float.  (It wasn't shifting mant_long if
	it had a hidden bit.)

	* v850-tdep.c:  Add support for function calling.  Fix some
	problems with debugging code w/o debug symbols.
	* config/v850/tm-v850.h:  Ditto.
This commit is contained in:
Stu Grossman
1996-10-15 23:44:13 +00:00
parent 254ef34062
commit ac9548059b
6 changed files with 247 additions and 34 deletions

View File

@ -154,6 +154,12 @@ enum type_code
#define TYPE_FLAG_TARGET_STUB (1 << 3)
/* This is a function type which appears to have a prototype. We need this
for function calls in order to tell us if it's necessary to coerce the args,
or to just do the standard conversions. */
#define TYPE_FLAG_PROTOTYPED (1 << 4)
struct type
{