qemu-irix/linux-user
Andrew Bennett f01a361bfc linux-user: Fix MIPS N64 trap and break instruction bug
For the MIPS N64 ABI when QEMU reads the break/trap instruction so that
it can inspect the break/trap code it reads 8 rather than 4 bytes
which means it finds the code field from the instruction after the
break/trap instruction.  This then causes the break/trap handling
code to fail because it does not understand the code number.

The fix forces QEMU to always read 4 bytes of instruction data rather
than deciding how much to read based on the ABI.

Signed-off-by: Andrew Bennett <andrew.bennett@imgtec.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
2015-07-15 14:07:25 +01:00
..
aarch64
alpha
arm linux-user/arm: Correct TARGET_NR_timerfd to TARGET_NR_timerfd_create 2015-05-18 17:45:10 +01:00
cris
i386
m68k
microblaze
mips
mips64
openrisc
ppc
s390x
sh4
sparc
sparc64
unicore32
x86_64
Makefile.objs
elfload.c linux-user: Use abi_ulong for TARGET_ELF_PAGESTART 2015-06-15 11:36:58 +03:00
errno_defs.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c
m68k-sim.c
main.c linux-user: Fix MIPS N64 trap and break instruction bug 2015-07-15 14:07:25 +01:00
mmap.c translate-all: remove unnecessary argument to tb_invalidate_phys_range 2015-06-05 17:09:59 +02:00
qemu.h
signal.c translate-all: Change tb_flush() env argument to cpu 2015-07-09 15:20:40 +02:00
socket.h
strace.c
strace.list
syscall.c linux-user: ioctl() command type is int 2015-06-16 09:37:17 +03:00
syscall_defs.h linux-user: correct stat structure in MIPS N32 2015-02-13 14:11:29 +00:00
syscall_types.h
target_flat.h
uaccess.c
uname.c
uname.h
vm86.c