From e53511ef4c7d4db443543506e74e4de537da5475 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 13 Jul 2014 01:24:55 +0200 Subject: [PATCH] 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) --- sys/src/libmach/vdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/src/libmach/vdb.c b/sys/src/libmach/vdb.c index de67905ff..6001813c1 100644 --- a/sys/src/libmach/vdb.c +++ b/sys/src/libmach/vdb.c @@ -37,7 +37,7 @@ Machdata mipsmach = 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 mipsmachle = */ Machdata mipsmach2le = { - {0, 0, 0, 0xD}, /* break point */ + {0xD, 0, 0, 0}, /* break point */ 4, /* break point size */ leswab, /* short to local byte order */ -- 2.44.0