* 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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue