Page MenuHomeFreeBSD

D8250.id21492.diff
No OneTemporary

D8250.id21492.diff

Index: lib/libproc/proc_bkpt.c
===================================================================
--- lib/libproc/proc_bkpt.c
+++ lib/libproc/proc_bkpt.c
@@ -56,7 +56,11 @@
#define BREAKPOINT_INSTR 0xe7ffffff /* bkpt */
#define BREAKPOINT_INSTR_SZ 4
#elif defined(__mips__)
+#if (defined(__mips_n64) || defined(__mips_o64)) && BYTE_ORDER == BIG_ENDIAN
+#define BREAKPOINT_INSTR 0xd00000000UL /* break */
+#else
#define BREAKPOINT_INSTR 0xd /* break */
+#endif
#define BREAKPOINT_INSTR_SZ 4
#elif defined(__powerpc__)
#define BREAKPOINT_INSTR 0x7fe00008 /* trap */

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 20, 6:36 AM (14 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25712438
Default Alt Text
D8250.id21492.diff (572 B)

Event Timeline