- Fix missing 'or' in target-mips/helper.c while update of hflags with HFLAG_ERL - Update status register EXL and ERL flags directly if entering or leaving exception, not only hflags. With old mechanism, correct status register is returned only if read from target with mfc0 instruction. This is because value of status register is calculated at read time using hflags. GDB, which directly seems to read CP0_Status, doesn't get the correct status register. - Remove then EXL and ERL calculation based on hflags from do_mfc0 because status register now has already the correct value. Signed-off-by: Dirk Behme