summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2004-07-23 14:45:15 +0000
committergallatin <gallatin@FreeBSD.org>2004-07-23 14:45:15 +0000
commit25c9673901fcf798dd537a4027e13107c0e83944 (patch)
treeb3e30ffcea6989d17f89ef24f5bb6d5714c3e8cc
parent882656d16c73f00727eb12c05f01ab01e471d8b1 (diff)
downloadFreeBSD-src-25c9673901fcf798dd537a4027e13107c0e83944.zip
FreeBSD-src-25c9673901fcf798dd537a4027e13107c0e83944.tar.gz
Let ddb know powerpc is big endian so as to make ddb output
human readable. Obtained from: sparc64/include/db_machdep.h
-rw-r--r--sys/powerpc/include/db_machdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/db_machdep.h b/sys/powerpc/include/db_machdep.h
index 1230afa..c5568e4 100644
--- a/sys/powerpc/include/db_machdep.h
+++ b/sys/powerpc/include/db_machdep.h
@@ -39,6 +39,8 @@
#define DB_ELF_SYMBOLS
#define DB_ELFSIZE 32
+#define BYTE_MSF (1)
+
typedef vm_offset_t db_addr_t; /* address - unsigned */
typedef int db_expr_t; /* expression - signed */
OpenPOWER on IntegriCloud