Tiny patch to re-enable pre-existing 32-bit little-endian MIPS debugger code (which seems to work more or less ok once re-enabled). /n/sources/plan9/contrib/de0u/0.t2 is an executable which db is much happier with after this patch. Reference: /n/sources/patch/applied/libmach-enable-mipsmachle Date: Thu Oct 15 18:55:14 CES 2009 Signed-off-by: davide+p9@cs.cmu.edu --- /sys/src/libmach/setmach.c Thu Oct 15 18:48:22 2009 +++ /sys/src/libmach/setmach.c Thu Oct 15 18:48:21 2009 @@ -18,7 +18,7 @@ extern Mach mmips, msparc, m68020, mi386, mamd64, marm, mmips2be, mmips2le, mpower, mpower64, malpha, msparc64; -extern Machdata mipsmach, sparcmach, m68020mach, i386mach, +extern Machdata mipsmach, mipsmachle, sparcmach, m68020mach, i386mach, armmach, mipsmach2le, powermach, alphamach, sparc64mach; /* @@ -46,6 +46,12 @@ AMIPS, &mmips2le, &mipsmach2le, }, + { "mipsLE", /*plan 9 mips little endian*/ + FMIPSLE, + 0, + AMIPS, + &mmips, + &mipsmachle, }, { "mips", /*plan 9 mips*/ FMIPS, FMIPSB,