Use TREE_ARG to compute the type of a function parameter passed in memory.

From-SVN: r19845
This commit is contained in:
Nick Clifton 1998-05-18 11:02:18 +00:00 committed by Nick Clifton
parent ac549fc3fb
commit 972a4adb7c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon May 18 10:59:23 1998 Nick Clifton <nickc@cygnus.com>
* dbxout.c (dbxout_parms): Use TREE_ARG to compute the type of a
function parameter passed in memory.
Mon May 18 09:02:09 1998 Robert Lipe <robertl@dgii.com>
* dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.

View File

@ -2274,7 +2274,7 @@ dbxout_parms (parms)
DBX_MEMPARM_STABS_LETTER);
}
dbxout_type (DECL_ARG_TYPE (parms), 0, 0);
dbxout_type (TREE_TYPE (parms), 0, 0);
current_sym_value = DEBUGGER_ARG_OFFSET (current_sym_value, addr);
dbxout_finish_symbol (parms);
}