]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/libmach/vdb.c
libmach: fix break point instruction for little endian MIPS (from sources)
[plan9front.git] / sys / src / libmach / vdb.c
index de67905ff3054cfee57241e4cf81bee7f2a01bb3..6001813c18893f7decf97a4be64351a0909410f5 100644 (file)
@@ -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 */