From 501be095c99cb8b8e83176861f4d647f1247531b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 24 Jan 1996 01:26:49 +0000 Subject: [PATCH] * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL. (enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL. * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION. --- binutils/ChangeLog | 6 ++++++ binutils/debug.c | 3 +++ binutils/debug.h | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 23ed09ee0a3..6b3b21e208e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,11 @@ Tue Jan 23 15:54:18 1996 Ian Lance Taylor + * ieee.c: Various changes to handle C++ reference types. + + * debug.h (enum debug_var_kind): Add DEBUG_VAR_ILLEGAL. + (enum debug_parm_kind): Add DEBUG_PARM_ILLEGAL. + * debug.c (debug_get_parameter_types): Handle DEBUG_KIND_FUNCTION. + * ieee.c: Various changes to write out definitions of C++ classes. * debug.c (debug_append_filename): Remove. diff --git a/binutils/debug.c b/binutils/debug.c index 91235c17751..aee56be6eaf 100644 --- a/binutils/debug.c +++ b/binutils/debug.c @@ -2237,6 +2237,9 @@ debug_get_parameter_types (handle, type, pvarargs) { default: return NULL; + case DEBUG_KIND_FUNCTION: + *pvarargs = type->u.kfunction->varargs; + return type->u.kfunction->arg_types; case DEBUG_KIND_METHOD: *pvarargs = type->u.kmethod->varargs; return type->u.kmethod->arg_types; diff --git a/binutils/debug.h b/binutils/debug.h index 8748f0a22de..e615700d819 100644 --- a/binutils/debug.h +++ b/binutils/debug.h @@ -86,6 +86,8 @@ enum debug_type_kind enum debug_var_kind { + /* Not used. */ + DEBUG_VAR_ILLEGAL, /* A global variable. */ DEBUG_GLOBAL, /* A static variable. */ @@ -102,6 +104,8 @@ enum debug_var_kind enum debug_parm_kind { + /* Not used. */ + DEBUG_PARM_ILLEGAL, /* A stack based parameter. */ DEBUG_PARM_STACK, /* A register parameter. */ -- 2.30.2