diff options
author | cognet <cognet@FreeBSD.org> | 2006-07-27 11:41:37 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2006-07-27 11:41:37 +0000 |
commit | eb22761b8a672ec4432356913e0513a43f0e98a0 (patch) | |
tree | f85271a3cf1c6ccd36569ef447f53e140ff8e8e9 /sys | |
parent | 352abf45ed76622ea4be81127e1259efbc1b2e43 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/arm/include/db_machdep.h | 3 |
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_ */ |