* 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
|
@ -1,5 +1,11 @@
|
||||||
Tue Jan 23 15:54:18 1996 Ian Lance Taylor <ian@cygnus.com>
|
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.
|
* ieee.c: Various changes to write out definitions of C++ classes.
|
||||||
|
|
||||||
* debug.c (debug_append_filename): Remove.
|
* debug.c (debug_append_filename): Remove.
|
||||||
|
|
|
@ -2237,6 +2237,9 @@ debug_get_parameter_types (handle, type, pvarargs)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
|
case DEBUG_KIND_FUNCTION:
|
||||||
|
*pvarargs = type->u.kfunction->varargs;
|
||||||
|
return type->u.kfunction->arg_types;
|
||||||
case DEBUG_KIND_METHOD:
|
case DEBUG_KIND_METHOD:
|
||||||
*pvarargs = type->u.kmethod->varargs;
|
*pvarargs = type->u.kmethod->varargs;
|
||||||
return type->u.kmethod->arg_types;
|
return type->u.kmethod->arg_types;
|
||||||
|
|
|
@ -86,6 +86,8 @@ enum debug_type_kind
|
||||||
|
|
||||||
enum debug_var_kind
|
enum debug_var_kind
|
||||||
{
|
{
|
||||||
|
/* Not used. */
|
||||||
|
DEBUG_VAR_ILLEGAL,
|
||||||
/* A global variable. */
|
/* A global variable. */
|
||||||
DEBUG_GLOBAL,
|
DEBUG_GLOBAL,
|
||||||
/* A static variable. */
|
/* A static variable. */
|
||||||
|
@ -102,6 +104,8 @@ enum debug_var_kind
|
||||||
|
|
||||||
enum debug_parm_kind
|
enum debug_parm_kind
|
||||||
{
|
{
|
||||||
|
/* Not used. */
|
||||||
|
DEBUG_PARM_ILLEGAL,
|
||||||
/* A stack based parameter. */
|
/* A stack based parameter. */
|
||||||
DEBUG_PARM_STACK,
|
DEBUG_PARM_STACK,
|
||||||
/* A register parameter. */
|
/* A register parameter. */
|
||||||
|
|
Loading…
Reference in New Issue