qemu/tests/tcg
Matheus Branco Borella 761e3c1088 gdbstub: fixes cases where wrong threads were reported to GDB on SIGINT
This fix is implemented by having the vCont handler set the value of
`gdbserver_state.c_cpu` if any threads are to be resumed. The specific
CPU picked is arbitrarily from the ones to be resumed, but it should
be okay, as all GDB cares about is that it is a resumed thread.

Signed-off-by: Matheus Branco Borella <dark.ryu.550@gmail.com>
Message-Id: <20230804182633.47300-2-dark.ryu.550@gmail.com>
[AJB: style and whitespace fixes]
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1725
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230829161528.2707696-9-alex.bennee@linaro.org>
2023-08-30 14:57:50 +01:00
..
aarch64 tests/tcg: clean-up gdb confirm/pagination settings 2023-08-30 14:57:50 +01:00
alpha tests/tcg/alpha: Add test for cvttq 2023-07-01 08:26:54 +02:00
arm tests/tcg: limit the scope of the plugin tests 2023-04-27 14:58:23 +01:00
cris tests/tcg: limit the scope of the plugin tests 2023-04-27 14:58:23 +01:00
hexagon Hexagon (target/hexagon) Fix assignment to tmp registers 2023-05-26 07:03:41 -07:00
hppa tests/tcg: limit the scope of the plugin tests 2023-04-27 14:58:23 +01:00
i386 tests/multiarch: Add test-aes 2023-07-08 07:30:17 +01:00
loongarch64 target/loongarch: Remove cpu_fcsr0 2022-08-08 19:42:53 -07:00
m68k tests/tcg/m68k: Add trap.c 2022-06-02 09:35:03 +02:00
minilib Remove leading underscores from QEMU defines 2021-06-21 05:49:01 +02:00
mips tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
multiarch gdbstub: fixes cases where wrong threads were reported to GDB on SIGINT 2023-08-30 14:57:50 +01:00
nios2 tests/tcg/nios2: Tweak 10m50-ghrd.ld 2022-10-31 20:37:58 +00:00
openrisc target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
ppc tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
ppc64 tests/multiarch: Add test-aes 2023-07-08 07:30:17 +01:00
ppc64le tests/tcg: unify ppc64 and ppc64le Makefiles 2022-10-06 11:53:40 +01:00
riscv64 riscv: Add support for the Zfa extension 2023-07-10 22:29:20 +10:00
s390x tests/tcg: clean-up gdb confirm/pagination settings 2023-08-30 14:57:50 +01:00
sh4 tests/tcg: re-enable threadcount for sh4 2022-10-31 20:37:59 +00:00
sparc64 tests/tcg/sparc64: Re-enable linux-test 2021-05-15 21:43:23 +02:00
tricore other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
x86_64 other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
xtensa tests/tcg: limit the scope of the plugin tests 2023-04-27 14:58:23 +01:00
xtensaeb tests/tcg/xtensa: allow testing big-endian cores 2023-03-15 05:08:04 -07:00
Makefile.target other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
README Drop the deprecated lm32 target 2021-05-12 18:20:25 +02:00

This directory contains various interesting guest programs for
regression testing. Tests are either multi-arch, meaning they can be
built for all guest architectures that support linux-user executable,
or they are architecture specific.

CRIS
====
The testsuite for CRIS is in tests/tcg/cris.  You can run it
with "make test-cris".