Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136751011
D8250.id21492.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
572 B
Referenced Files
None
Subscribers
None
D8250.id21492.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8250: fix libproc for big-endian systems
Attached
Detach File
Event Timeline
Log In to Comment