xemu/configs/targets
Bibo Mao d38e31ef74 target/loongarch/kvm: Add software breakpoint support
With KVM virtualization, debug exception is injected to guest kernel
rather than host for normal break intruction. Here hypercall
instruction with special code is used for sw breakpoint usage,
and detailed instruction comes from kvm kernel with user API
KVM_REG_LOONGARCH_DEBUG_INST.

Now only software breakpoint is supported, and it is allowed to
insert/remove software breakpoint. We can debug guest kernel with gdb
method after kernel is loaded, hardware breakpoint will be added in later.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Tested-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240607035016.2975799-1-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
2024-07-12 09:41:18 +08:00
..
aarch64-linux-user.mak gdbstub: Add support for MTE in user mode 2024-07-05 12:35:33 +01:00
aarch64-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
aarch64_be-linux-user.mak target/arm: Implement gdbstub pauth extension 2023-03-06 14:08:11 +00:00
alpha-linux-user.mak target/alpha: Remove TARGET_ALIGNED_ONLY 2023-05-05 17:05:58 +01:00
alpha-softmmu.mak target/alpha: Remove TARGET_ALIGNED_ONLY 2023-05-05 17:05:58 +01:00
arm-bsd-user.mak bsd-user: add arm target build 2022-01-07 22:58:51 -07:00
arm-linux-user.mak semihosting: Split out guestfd.c 2022-06-28 04:35:07 +05:30
arm-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
armeb-linux-user.mak semihosting: Split out guestfd.c 2022-06-28 04:35:07 +05:30
avr-softmmu.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
cris-linux-user.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
cris-softmmu.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
hexagon-linux-user.mak Hexagon (gdbstub): add HVX support 2023-05-18 12:40:52 -07:00
hppa-linux-user.mak target/hppa: Remove TARGET_HPPA64 2023-11-06 18:49:34 -08:00
hppa-softmmu.mak target/hppa: Remove TARGET_ALIGNED_ONLY 2023-05-05 17:05:58 +01:00
i386-bsd-user.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
i386-linux-user.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
i386-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
loongarch64-linux-user.mak default-configs: Add TARGET_XML_FILES definition 2023-11-08 15:15:23 +00:00
loongarch64-softmmu.mak target/loongarch/kvm: Add software breakpoint support 2024-07-12 09:41:18 +08:00
m68k-linux-user.mak Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
m68k-softmmu.mak Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
microblaze-linux-user.mak target/microblaze: Add gdbstub xml 2023-02-21 08:52:17 -10:00
microblaze-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
microblazeel-linux-user.mak target/microblaze: Add gdbstub xml 2023-02-21 08:52:17 -10:00
microblazeel-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
mips-linux-user.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
mips-softmmu.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
mips64-linux-user.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
mips64-softmmu.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
mips64el-linux-user.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
mips64el-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
mipsel-linux-user.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
mipsel-softmmu.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
mipsn32-linux-user.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
mipsn32el-linux-user.mak target/mips: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
or1k-linux-user.mak Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
or1k-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
ppc-linux-user.mak Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
ppc-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
ppc64-linux-user.mak Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
ppc64-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
ppc64le-linux-user.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
riscv32-linux-user.mak semihosting: Split out guestfd.c 2022-06-28 04:35:07 +05:30
riscv32-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
riscv64-linux-user.mak semihosting: Split out guestfd.c 2022-06-28 04:35:07 +05:30
riscv64-softmmu.mak target/riscv/kvm: define TARGET_KVM_HAVE_GUEST_DEBUG 2024-06-26 22:48:47 +10:00
rx-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
s390x-linux-user.mak s390x/gdb: Split s390-virt.xml 2023-04-28 08:05:37 +02:00
s390x-softmmu.mak kvm: use configs/ definition to conditionalize debug support 2024-04-18 11:17:27 +02:00
sh4-linux-user.mak target/sh4: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
sh4-softmmu.mak target/sh4: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
sh4eb-linux-user.mak target/sh4: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
sh4eb-softmmu.mak target/sh4: Remove TARGET_ALIGNED_ONLY 2023-05-11 09:53:41 +01:00
sparc-linux-user.mak target/sparc: Remove TARGET_ALIGNED_ONLY 2023-05-05 17:09:47 +01:00
sparc-softmmu.mak configs: Enable MTTCG for sparc, sparc64 2023-10-25 01:01:12 -07:00
sparc32plus-linux-user.mak target/sparc: Remove TARGET_ALIGNED_ONLY 2023-05-05 17:09:47 +01:00
sparc64-linux-user.mak target/sparc: Remove TARGET_ALIGNED_ONLY 2023-05-05 17:09:47 +01:00
sparc64-softmmu.mak configs: Enable MTTCG for sparc, sparc64 2023-10-25 01:01:12 -07:00
tricore-softmmu.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
x86_64-bsd-user.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
x86_64-linux-user.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
x86_64-softmmu.mak configs: disable emulators that require it if libfdt is not found 2024-05-10 15:45:15 +02:00
xtensa-linux-user.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
xtensa-softmmu.mak configs: rename default-configs to configs and reorganise 2021-07-09 18:21:34 +02:00
xtensaeb-linux-user.mak Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
xtensaeb-softmmu.mak Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00