aboutsummaryrefslogtreecommitdiff
path: root/binutils/debug.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-01-24 01:26:49 +0000
committerIan Lance Taylor <ian@airs.com>1996-01-24 01:26:49 +0000
commit501be095c99cb8b8e83176861f4d647f1247531b (patch)
tree64dc524cdeb88fa210b3b913fb81068c7caef5eb /binutils/debug.c
parent3d2d4629078129489a8f6a81f6dec6498f6b5857 (diff)
downloadgdb-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/debug.c')
-rw-r--r--binutils/debug.c3
1 files changed, 3 insertions, 0 deletions
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;