summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-07-27 11:41:37 +0000
committercognet <cognet@FreeBSD.org>2006-07-27 11:41:37 +0000
commiteb22761b8a672ec4432356913e0513a43f0e98a0 (patch)
treef85271a3cf1c6ccd36569ef447f53e140ff8e8e9 /sys/arm/include
parent352abf45ed76622ea4be81127e1259efbc1b2e43 (diff)
downloadFreeBSD-src-eb22761b8a672ec4432356913e0513a43f0e98a0.zip
FreeBSD-src-eb22761b8a672ec4432356913e0513a43f0e98a0.tar.gz
Define BYTE_MSF if we're compiling a big endian kernel, so that DDB can
correctly disassemble instructions on big endian.
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/db_machdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/include/db_machdep.h b/sys/arm/include/db_machdep.h
index ae7de16..8ccb0a0 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_ */
OpenPOWER on IntegriCloud