aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1998-05-18 11:02:18 +0000
committerNick Clifton <nickc@gcc.gnu.org>1998-05-18 11:02:18 +0000
commit972a4adb7cac5d3fef26106fb8a49a9f7d91950b (patch)
tree7d6b8164d1450de0b2ebfabdd9d25f8b45d44361 /gcc
parentac549fc3fb6bfd2f9a5c3cffb807d0cee95ae456 (diff)
downloadgcc-972a4adb7cac5d3fef26106fb8a49a9f7d91950b.zip
gcc-972a4adb7cac5d3fef26106fb8a49a9f7d91950b.tar.gz
gcc-972a4adb7cac5d3fef26106fb8a49a9f7d91950b.tar.bz2
Use TREE_ARG to compute the type of a function parameter passed in memory.
From-SVN: r19845
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dbxout.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f1c58a..1f6ba55 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 9743580..fac184e 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -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);
}