Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm remove show panic cmd
details: https://anonhg.NetBSD.org/src/rev/81965bcc4073
branches: trunk
changeset: 783708:81965bcc4073
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 05 15:06:51 2013 +0000
description:
remove show panic cmd
diffstat:
sys/arch/arm/arm32/db_machdep.c | 17 ++---------------
sys/arch/arm/include/arm32/db_machdep.h | 3 +--
2 files changed, 3 insertions(+), 17 deletions(-)
diffs (61 lines):
diff -r 4bb45cfa4f56 -r 81965bcc4073 sys/arch/arm/arm32/db_machdep.c
--- a/sys/arch/arm/arm32/db_machdep.c Sat Jan 05 15:04:00 2013 +0000
+++ b/sys/arch/arm/arm32/db_machdep.c Sat Jan 05 15:06:51 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.c,v 1.15 2012/09/21 22:12:35 matt Exp $ */
+/* $NetBSD: db_machdep.c,v 1.16 2013/01/05 15:06:51 christos Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.15 2012/09/21 22:12:35 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.16 2013/01/05 15:06:51 christos Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -88,9 +88,6 @@
"[address]",
" address:\taddress of trapfame to display")},
#ifdef _KERNEL
- { DDB_ADD_CMD("panic", db_show_panic_cmd, 0,
- "Displays the last panic string",
- NULL,NULL) },
{ DDB_ADD_CMD("fault", db_show_fault_cmd, 0,
"Displays the fault registers",
NULL,NULL) },
@@ -130,16 +127,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_fault_cmd(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif)
{
db_printf("DFAR=%#x DFSR=%#x IFAR=%#x IFSR=%#x TTBR=%#x\n",
diff -r 4bb45cfa4f56 -r 81965bcc4073 sys/arch/arm/include/arm32/db_machdep.h
--- a/sys/arch/arm/include/arm32/db_machdep.h Sat Jan 05 15:04:00 2013 +0000
+++ b/sys/arch/arm/include/arm32/db_machdep.h Sat Jan 05 15:06:51 2013 +0000
@@ -1,11 +1,10 @@
-/* $NetBSD: db_machdep.h,v 1.6 2012/09/21 22:12:36 matt Exp $ */
+/* $NetBSD: db_machdep.h,v 1.7 2013/01/05 15:06:51 christos Exp $ */
#ifndef _ARM32_DB_MACHDEP_H_
#define _ARM32_DB_MACHDEP_H_
#include <arm/db_machdep.h>
-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_show_fault_cmd(db_expr_t, bool, db_expr_t, const char *);
Home |
Main Index |
Thread Index |
Old Index