qemu/linux-user/hppa
Helge Deller dcd86148e2 linux-user/hppa: Detect glibc ABORT_INSTRUCTION and EXCP_BREAK handler
The glibc on the hppa platform uses the "iitlbp %r0,(%sr0, %r0)"
assembler instruction as ABORT_INSTRUCTION.
If this (in userspace context) illegal assembler statement is found,
dump the registers and report the failure to userspace the same way as
the Linux kernel on physical hardware.

For other illegal instructions report TARGET_ILL_ILLOPC instead of
TARGET_ILL_ILLOPN as si_code.

Additionally add the missing EXCP_BREAK exception handler which occurs
when the "break x,y" assembler instruction is executed and report
EXCP_ASSIST traps.

Signed-off-by: Helge Deller <deller@gmx.de>

Message-Id: <Y1osHVsylkuZNUnY@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2022-11-02 17:14:02 +01:00
..
cpu_loop.c linux-user/hppa: Detect glibc ABORT_INSTRUCTION and EXCP_BREAK handler 2022-11-02 17:14:02 +01:00
meson.build
signal.c linux-user/hppa: Fix setup_sigcontext() 2022-09-27 13:19:05 +02:00
sockbits.h
syscall.tbl
syscallhdr.sh
target_cpu.h
target_elf.h
target_errno_defs.h
target_fcntl.h
target_mman.h
target_prctl.h
target_resource.h
target_signal.h linux-user/hppa: Add signal trampoline for hppa target 2022-09-27 09:33:19 +02:00
target_structs.h
target_syscall.h linux-user/hppa: Increase guest stack size to 80MB for hppa target 2022-09-27 09:33:56 +02:00
termbits.h