Add missing bracing for some THUMB_CODE.

This commit is contained in:
chris 2008-03-29 22:05:15 +00:00
parent 232fdde483
commit 248e511e80
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fault.c,v 1.65 2008/01/06 03:11:42 matt Exp $ */
/* $NetBSD: fault.c,v 1.66 2008/03/29 22:05:15 chris Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@ -81,7 +81,7 @@
#include "opt_kgdb.h"
#include <sys/types.h>
__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.65 2008/01/06 03:11:42 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.66 2008/03/29 22:05:15 chris Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -198,8 +198,8 @@ data_abort_fixup(trapframe_t *tf, u_int fsr, u_int far, struct lwp *l)
#ifdef THUMB_CODE
if (tf->tf_spsr & PSR_T_bit) {
printf("pc = 0x%08x, opcode 0x%04x, 0x%04x, insn = ",
tf->tf_pc, *((u_int16 *)(tf->tf_pc & ~1),
*((u_int16 *)((tf->tf_pc + 2) & ~1));
tf->tf_pc, *((u_int16 *)(tf->tf_pc & ~1)),
*((u_int16 *)((tf->tf_pc + 2) & ~1)));
}
else
#endif