From 7ba6ee4ca82ff1fc0b618da797090f104730bad1 Mon Sep 17 00:00:00 2001 From: bsh Date: Wed, 21 May 2003 06:40:29 +0000 Subject: [PATCH] fix warning when KGDB is defined and DDB is not defined. --- sys/arch/arm/arm32/db_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm/arm32/db_interface.c b/sys/arch/arm/arm32/db_interface.c index 81de76720ccd..65c6518597e6 100644 --- a/sys/arch/arm/arm32/db_interface.c +++ b/sys/arch/arm/arm32/db_interface.c @@ -1,4 +1,4 @@ -/* $NetBSD: db_interface.c,v 1.27 2003/05/03 17:32:59 thorpej Exp $ */ +/* $NetBSD: db_interface.c,v 1.28 2003/05/21 06:40:29 bsh Exp $ */ /* * Copyright (c) 1996 Scott K. Stevens @@ -336,13 +336,13 @@ db_write_bytes(vaddr_t addr, size_t size, char *data) cpu_cpwait(); } +#ifdef DDB void cpu_Debugger(void) { asm(".word 0xe7ffffff"); } -#ifdef DDB const struct db_command db_machine_command_table[] = { { "frame", db_show_frame_cmd, 0, NULL }, { "panic", db_show_panic_cmd, 0, NULL },