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 */