From 9c8cab381457e5a779f0a8a86dec0e403009bed0 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 27 Jul 2006 11:41:37 +0000 Subject: [PATCH] Define BYTE_MSF if we're compiling a big endian kernel, so that DDB can correctly disassemble instructions on big endian. --- sys/arm/include/db_machdep.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/arm/include/db_machdep.h b/sys/arm/include/db_machdep.h index ae7de16fc62..8ccb0a05176 100644 --- a/sys/arm/include/db_machdep.h +++ b/sys/arm/include/db_machdep.h @@ -89,4 +89,7 @@ int db_validate_address(vm_offset_t); u_int branch_taken (u_int insn, u_int pc); +#ifdef __ARMEB__ +#define BYTE_MSF (1) +#endif #endif /* !_MACHINE_DB_MACHDEP_H_ */