Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa #if 0 some unsed code which should probab...



details:   https://anonhg.NetBSD.org/src/rev/34ebcafa3703
branches:  trunk
changeset: 790683:34ebcafa3703
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 19 14:03:04 2013 +0000

description:
#if 0 some unsed code which should probably be finished.

diffstat:

 sys/arch/hppa/hppa/db_trace.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r c80196d217c1 -r 34ebcafa3703 sys/arch/hppa/hppa/db_trace.c
--- a/sys/arch/hppa/hppa/db_trace.c     Sat Oct 19 14:02:29 2013 +0000
+++ b/sys/arch/hppa/hppa/db_trace.c     Sat Oct 19 14:03:04 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_trace.c,v 1.12 2012/01/18 09:35:48 skrll Exp $      */
+/*     $NetBSD: db_trace.c,v 1.13 2013/10/19 14:03:04 skrll Exp $      */
 
 /*     $OpenBSD: db_interface.c,v 1.16 2001/03/22 23:31:45 mickey Exp $        */
 
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.12 2012/01/18 09:35:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.13 2013/10/19 14:03:04 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -47,7 +47,9 @@
     const char *modif, void (*pr)(const char *, ...))
 {
        register_t *fp, pc, rp;
+#if 0
        bool kernel_only = true;
+#endif
        bool trace_thread = false;
        bool lwpaddr = false;
        db_sym_t sym;
@@ -66,8 +68,10 @@
                }
                if (c == 't')
                        trace_thread = true;
+#if 0
                if (c == 'u')
                        kernel_only = false;
+#endif
        }
 
        if (!have_addr) {



Home | Main Index | Thread Index | Old Index