summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-04-30 13:04:50 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-04-30 13:04:50 +0000
commit9677cd160068c81899802ad8c77c0879d451b880 (patch)
tree5cddb69b1b72c888c26085e12b2d6cfd4c026daf /sys/arch/alpha
parent22d14bd3c139dd25c22669e4e75a1ac94d35f79e (diff)
Unifdef KGDB.
It doesn't compile und hasn't been working during the last decade. ok kettenis@, deraadt@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/dec_1000a.c15
-rw-r--r--sys/arch/alpha/alpha/dec_kn300.c15
-rw-r--r--sys/arch/alpha/alpha/machdep.c6
3 files changed, 3 insertions, 33 deletions
diff --git a/sys/arch/alpha/alpha/dec_1000a.c b/sys/arch/alpha/alpha/dec_1000a.c
index 0e2f5d76930..4e5e9b0e82d 100644
--- a/sys/arch/alpha/alpha/dec_1000a.c
+++ b/sys/arch/alpha/alpha/dec_1000a.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_1000a.c,v 1.8 2014/05/08 20:46:49 miod Exp $ */
+/* $OpenBSD: dec_1000a.c,v 1.9 2017/04/30 13:04:49 mpi Exp $ */
/* $NetBSD: dec_1000a.c,v 1.14 2001/06/05 04:53:11 thorpej Exp $ */
/*
@@ -103,15 +103,6 @@ void _dec_1000a_init(void);
void dec_1000a_cons_init(void);
void dec_1000a_device_register(struct device *, void *);
-#ifdef KGDB
-#include <machine/db_machdep.h>
-
-const char *kgdb_devlist[] = {
- "com",
- NULL,
-};
-#endif /* KGDB */
-
const struct alpha_variation_table dec_1000_variations[] = {
{ 0, "AlphaServer 1000" },
{ 0, NULL },
@@ -233,10 +224,6 @@ dec_1000a_cons_init()
panic("consinit: unknown console type %lu",
(unsigned long)ctb->ctb_term_type);
}
-#ifdef KGDB
- /* Attach the KGDB device. */
- alpha_kgdb_init(kgdb_devlist, iot);
-#endif /* KGDB */
}
void
diff --git a/sys/arch/alpha/alpha/dec_kn300.c b/sys/arch/alpha/alpha/dec_kn300.c
index fcce293235d..4ebbb5fa034 100644
--- a/sys/arch/alpha/alpha/dec_kn300.c
+++ b/sys/arch/alpha/alpha/dec_kn300.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_kn300.c,v 1.8 2014/05/08 20:46:49 miod Exp $ */
+/* $OpenBSD: dec_kn300.c,v 1.9 2017/04/30 13:04:49 mpi Exp $ */
/* $NetBSD: dec_kn300.c,v 1.34 2007/03/04 15:18:10 yamt Exp $ */
/*
@@ -80,15 +80,6 @@ void dec_kn300_init (void);
void dec_kn300_cons_init (void);
static void dec_kn300_device_register (struct device *, void *);
-#ifdef KGDB
-#include <machine/db_machdep.h>
-
-static const char *kgdb_devlist[] = {
- "com",
- NULL,
-};
-#endif /* KGDB */
-
#define ALPHASERVER_4100 "AlphaServer 4100"
const struct alpha_variation_table dec_kn300_variations[] = {
@@ -202,10 +193,6 @@ dec_kn300_cons_init()
panic("consinit: unknown console type %lu",
(unsigned long)ctb->ctb_term_type);
}
-#ifdef KGDB
- /* Attach the KGDB device. */
- alpha_kgdb_init(kgdb_devlist, &ccp->cc_iot);
-#endif /* KGDB */
}
static void
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index 56ee777d1b2..8a22b6bcb71 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.178 2017/04/27 11:48:08 mpi Exp $ */
+/* $OpenBSD: machdep.c,v 1.179 2017/04/30 13:04:49 mpi Exp $ */
/* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */
/*-
@@ -764,10 +764,6 @@ nobootinfo:
if (boothowto & RB_KDB)
Debugger();
#endif
-#ifdef KGDB
- if (boothowto & RB_KDB)
- kgdb_connect(0);
-#endif
/*
* Figure out our clock frequency, from RPB fields.
*/