Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcarm/hpcarm Use db_machine_init.



details:   https://anonhg.NetBSD.org/src/rev/17a787adc022
branches:  trunk
changeset: 546605:17a787adc022
user:      toshii <toshii%NetBSD.org@localhost>
date:      Fri May 02 14:36:38 2003 +0000

description:
Use db_machine_init.

diffstat:

 sys/arch/hpcarm/hpcarm/hpc_machdep.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (23 lines):

diff -r 92d8f079c5c0 -r 17a787adc022 sys/arch/hpcarm/hpcarm/hpc_machdep.c
--- a/sys/arch/hpcarm/hpcarm/hpc_machdep.c      Fri May 02 12:43:01 2003 +0000
+++ b/sys/arch/hpcarm/hpcarm/hpc_machdep.c      Fri May 02 14:36:38 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpc_machdep.c,v 1.60 2003/04/26 11:05:13 ragge Exp $   */
+/*     $NetBSD: hpc_machdep.c,v 1.61 2003/05/02 14:36:38 toshii Exp $  */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -760,12 +760,7 @@
 #endif
 
 #ifdef DDB
-       {
-               static struct undefined_handler uh;
-
-               uh.uh_handler = db_trapper;
-               install_coproc_handler_static(0, &uh);
-       }
+       db_machine_init();
 #endif
 #if NKSYMS || defined(DDB) || defined(LKM)
        ksyms_init(symbolsize, ((int *)&end), ((char *)&end) + symbolsize);



Home | Main Index | Thread Index | Old Index