[9changes] patch: libmach-mipsle-bpinst

1 view
Skip to first unread message

9cha...@9grid.fr

unread,
Jul 12, 2014, 12:00:29 AM7/12/14
to 9cha...@googlegroups.com
fix break point instruction for little endian MIPS in
libmach.

Reference: /n/sources/patch/libmach-mipsle-bpinst
Date: Sat Jul 12 01:38:56 CES 2014
Signed-off-by: luna...@gmail.com

--- /sys/src/libmach/vdb.c Sat Jul 12 01:38:50 2014
+++ /sys/src/libmach/vdb.c Sat Jul 12 01:38:49 2014
@@ -42,7 +42,7 @@

Machdata mipsmachle =
{
- {0, 0, 0, 0xD}, /* break point */
+ {0xD, 0, 0, 0}, /* break point */
4, /* break point size */

leswab, /* short to local byte order */
@@ -65,7 +65,7 @@
*/
Machdata mipsmach2le =
{
- {0, 0, 0, 0xD}, /* break point */
+ {0xD, 0, 0, 0}, /* break point */
4, /* break point size */

leswab, /* short to local byte order */
Reply all
Reply to author
Forward
0 new messages