Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ddb db_sym_numargs() disappeared by mistake, restore it.



details:   https://anonhg.NetBSD.org/src/rev/77453a1953f2
branches:  trunk
changeset: 546291:77453a1953f2
user:      ragge <ragge%NetBSD.org@localhost>
date:      Thu Apr 24 21:18:34 2003 +0000

description:
db_sym_numargs() disappeared by mistake, restore it.

diffstat:

 sys/ddb/db_sym.c |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 2d3def4cd12f -r 77453a1953f2 sys/ddb/db_sym.c
--- a/sys/ddb/db_sym.c  Thu Apr 24 20:22:22 2003 +0000
+++ b/sys/ddb/db_sym.c  Thu Apr 24 21:18:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_sym.c,v 1.35 2003/04/24 20:00:48 ragge Exp $        */
+/*     $NetBSD: db_sym.c,v 1.36 2003/04/24 21:18:34 ragge Exp $        */
 
 /*
  * Mach Operating System
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.35 2003/04/24 20:00:48 ragge Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.36 2003/04/24 21:18:34 ragge Exp $");
 
 #include "opt_ddbparam.h"
 
@@ -420,3 +420,15 @@
                *sym = str;
        }
 }
+
+boolean_t
+db_sym_numargs(db_sym_t cursym, int *nargp, char **argnamep)
+{
+#ifdef DB_AOUT_SYMBOLS
+       if (using_aout_symtab)
+               return ((*db_symformat->sym_numargs)(NULL, cursym, nargp,
+                   argnamep));
+#endif
+       return (FALSE);
+}  
+



Home | Main Index | Thread Index | Old Index