diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-24 01:26:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-24 01:26:49 +0000 |
commit | 501be095c99cb8b8e83176861f4d647f1247531b (patch) | |
tree | 64dc524cdeb88fa210b3b913fb81068c7caef5eb /binutils | |
parent | 3d2d4629078129489a8f6a81f6dec6498f6b5857 (diff) | |
download | gdb-501be095c99cb8b8e83176861f4d647f1247531b.zip gdb-501be095c99cb8b8e83176861f4d647f1247531b.tar.gz gdb-501be095c99cb8b8e83176861f4d647f1247531b.tar.bz2 |
* 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.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/debug.c | 3 | ||||
-rw-r--r-- | binutils/debug.h | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 23ed09e..6b3b21e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,11 @@ Tue Jan 23 15:54:18 1996 Ian Lance Taylor <ian@cygnus.com> + * 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 91235c1..aee56be 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 8748f0a..e615700 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. */ |