* 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.
This commit is contained in:
parent
3d2d462907
commit
501be095c9
3 changed files with 13 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue