Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/acorn26 remove panic cmd
details: https://anonhg.NetBSD.org/src/rev/4bb45cfa4f56
branches: trunk
changeset: 783707:4bb45cfa4f56
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 05 15:04:00 2013 +0000
description:
remove panic cmd
diffstat:
sys/arch/acorn26/acorn26/db_interface.c | 7 ++-----
sys/arch/acorn26/acorn26/db_machdep.c | 18 ++----------------
sys/arch/acorn26/include/db_machdep.h | 3 +--
3 files changed, 5 insertions(+), 23 deletions(-)
diffs (84 lines):
diff -r cb8a74eba7e6 -r 4bb45cfa4f56 sys/arch/acorn26/acorn26/db_interface.c
--- a/sys/arch/acorn26/acorn26/db_interface.c Sat Jan 05 14:54:06 2013 +0000
+++ b/sys/arch/acorn26/acorn26/db_interface.c Sat Jan 05 15:04:00 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.18 2010/06/09 02:48:52 mrg Exp $ */
+/* $NetBSD: db_interface.c,v 1.19 2013/01/05 15:04:00 christos Exp $ */
/*
* Copyright (c) 1996 Scott K. Stevens
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.18 2010/06/09 02:48:52 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.19 2013/01/05 15:04:00 christos Exp $");
#include "opt_ddb.h"
@@ -254,9 +254,6 @@
{ DDB_ADD_CMD("irqstat", db_irqstat_cmd, 0,
"Displays the IRQ statistics",
NULL,NULL) },
- { DDB_ADD_CMD("panic", db_show_panic_cmd, 0,
- "Displays the last panic string",
- NULL,NULL) },
{ DDB_ADD_CMD( NULL, NULL, 0, NULL, NULL,NULL) }
};
diff -r cb8a74eba7e6 -r 4bb45cfa4f56 sys/arch/acorn26/acorn26/db_machdep.c
--- a/sys/arch/acorn26/acorn26/db_machdep.c Sat Jan 05 14:54:06 2013 +0000
+++ b/sys/arch/acorn26/acorn26/db_machdep.c Sat Jan 05 15:04:00 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.c,v 1.8 2011/07/19 16:05:09 dyoung Exp $ */
+/* $NetBSD: db_machdep.c,v 1.9 2013/01/05 15:04:00 christos Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.8 2011/07/19 16:05:09 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.9 2013/01/05 15:04:00 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -46,20 +46,6 @@
void
-db_show_panic_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
- const char *modif)
-{
- int s;
-
- s = splhigh();
-
- db_printf("Panic string: %s\n", panicstr);
-
- (void)splx(s);
-}
-
-
-void
db_show_frame_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
const char *modif)
{
diff -r cb8a74eba7e6 -r 4bb45cfa4f56 sys/arch/acorn26/include/db_machdep.h
--- a/sys/arch/acorn26/include/db_machdep.h Sat Jan 05 14:54:06 2013 +0000
+++ b/sys/arch/acorn26/include/db_machdep.h Sat Jan 05 15:04:00 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.8 2011/04/11 04:22:30 mrg Exp $ */
+/* $NetBSD: db_machdep.h,v 1.9 2013/01/05 15:04:00 christos Exp $ */
#include <arm/db_machdep.h>
@@ -6,7 +6,6 @@
#define DB_ELF_SYMBOLS
#define DB_ELFSIZE 32
-void db_show_panic_cmd(db_expr_t, bool, db_expr_t, const char *);
void db_show_frame_cmd(db_expr_t, bool, db_expr_t, const char *);
void db_bus_write_cmd(db_expr_t, bool, db_expr_t, const char *);
void db_irqstat_cmd(db_expr_t, bool, db_expr_t, const char *);
Home |
Main Index |
Thread Index |
Old Index