Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern fix nits to compile when DEBUG_KGDB is defined
details: https://anonhg.NetBSD.org/src/rev/430d039c5678
branches: trunk
changeset: 547078:430d039c5678
user: dbj <dbj%NetBSD.org@localhost>
date: Tue May 13 02:13:14 2003 +0000
description:
fix nits to compile when DEBUG_KGDB is defined
diffstat:
sys/kern/kgdb_stub.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r d557a2e72c95 -r 430d039c5678 sys/kern/kgdb_stub.c
--- a/sys/kern/kgdb_stub.c Mon May 12 20:10:22 2003 +0000
+++ b/sys/kern/kgdb_stub.c Tue May 13 02:13:14 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kgdb_stub.c,v 1.13 2003/01/18 10:06:32 thorpej Exp $ */
+/* $NetBSD: kgdb_stub.c,v 1.14 2003/05/13 02:13:14 dbj Exp $ */
/*
* Copyright (c) 1990, 1993
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.13 2003/01/18 10:06:32 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.14 2003/05/13 02:13:14 dbj Exp $");
#include "opt_kgdb.h"
@@ -530,12 +530,12 @@
continue;
}
PC_REGS(regs) = addr;
- DPRINTF(("kgdb: continuing at %08lx\n", addr))
+ DPRINTF(("kgdb: continuing at %08lx\n", addr));
} else {
DPRINTF((
"kgdb: continuing at old address %08lx\n",
- PC_REGS(regs)));
+ (vaddr_t)PC_REGS(regs)));
}
db_clear_single_step(regs);
Home |
Main Index |
Thread Index |
Old Index