]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user/arm/arget_arch_cpu.h: Move EXCP_DEBUG and EXCP_BKPT together
authorWarner Losh <imp@bsdimp.com>
Sat, 8 Jan 2022 23:11:15 +0000 (16:11 -0700)
committerWarner Losh <imp@bsdimp.com>
Fri, 28 Jan 2022 22:52:39 +0000 (15:52 -0700)
commita3ed97cee57279620d934642c6da1eb0c5ae9df2
treeb8b14698ea6de9b46485da1ab5846beaa63f1004
parentcfdee273c4e41d0b485bc82966a82d6ab6f37a1d
bsd-user/arm/arget_arch_cpu.h: Move EXCP_DEBUG and EXCP_BKPT together

Implement EXCP_DEBUG and EXCP_BKPT the same, as is done in
linux-user. The prior adjustment of register 15 isn't needed, so remove
that. Remove a redunant comment (that code in FreeBSD never handled
break points). It's unclear why BKPT was an alias for system calls,
but FreeBSD doesn't do that today.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/arm/target_arch_cpu.h