ref: e4a9d140ded32cce5a371adae79d18a1871b0406
parent: 443e950d0ee64d216239dce6abda35a6aafa38a8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jul 12 21:24:55 EDT 2014
libmach: fix break point instruction for little endian MIPS (from sources) fix break point instruction for little endian MIPS in libmach. (patch /n/sources/patch/libmach-mipsle-bpinst)
--- a/sys/src/libmach/vdb.c
+++ b/sys/src/libmach/vdb.c
@@ -37,7 +37,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 */
@@ -60,7 +60,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 */
--
⑨