diff --git a/sys/arch/mipsco/include/cpu.h b/sys/arch/mipsco/include/cpu.h index cbe1ba928091..9e9856a69a6e 100644 --- a/sys/arch/mipsco/include/cpu.h +++ b/sys/arch/mipsco/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.2 2000/08/17 21:26:34 wdk Exp $ */ +/* $NetBSD: cpu.h,v 1.3 2001/02/21 09:10:42 wdk Exp $ */ #ifndef _MIPSCO_CPU_H_ #define _MIPSCO_CPU_H_ @@ -25,6 +25,11 @@ extern struct cpu_info cpu_info_store; #define curcpu() (&cpu_info_store) #define cpu_number() 0 + +#ifdef KGDB +void zs_kgdb_init __P((void)); +#endif + #endif /* _KERNEL */ #endif /* !_LOCORE */ diff --git a/sys/arch/mipsco/mipsco/machdep.c b/sys/arch/mipsco/mipsco/machdep.c index 3e19d9b8ee7c..dcd8cd42fc7b 100644 --- a/sys/arch/mipsco/mipsco/machdep.c +++ b/sys/arch/mipsco/mipsco/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.15 2001/01/22 13:57:01 jdolecek Exp $ */ +/* $NetBSD: machdep.c,v 1.16 2001/02/21 09:10:42 wdk Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -43,7 +43,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.15 2001/01/22 13:57:01 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.16 2001/02/21 09:10:42 wdk Exp $"); /* from: Utah Hdr: machdep.c 1.63 91/04/24 */ @@ -856,4 +856,7 @@ consinit() cn_tab = &consdev_zs; (*cn_tab->cn_init)(cn_tab); +#ifdef KGDB + zs_kgdb_init(); /* XXX */ +#endif }