Use TREE_ARG to compute the type of a function parameter passed in memory.
authorNick Clifton <nickc@cygnus.com>
Mon, 18 May 1998 11:02:18 +0000 (11:02 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 18 May 1998 11:02:18 +0000 (11:02 +0000)
From-SVN: r19845

gcc/ChangeLog
gcc/dbxout.c

index 1f1c58af08178a9ca24579147748f7ce63b1dd49..1f6ba55cd76e11e4040bb03cd7031e9cc2f619f2 100644 (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.
index 97435806d481840aac6ba074f15acf59cc0b5dde..fac184e851258dd4156d637036f43af0be5b65bc 100644 (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);
          }