diff options
author | Helge Deller <deller@gmx.de> | 2022-10-27 08:58:37 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-11-02 17:14:02 +0100 |
commit | dcd86148e23509fb2cedeb5ac38c20763b71141f (patch) | |
tree | 606e13b25224b268e3907f68b6cd274fd88e6520 /blockdev-nbd.c | |
parent | a11f65ec1b8adcb012b89c92819cbda4dc25aaf1 (diff) |
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>
Diffstat (limited to 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions