qemu-e2k/tests/tcg/s390x
Alex Bennée 21750c3c89 tests/tcg: add an explicit gdbstub register tester
We already do a couple of "info registers" for specific tests but this
is a more comprehensive multiarch test. It also has some output
helpful for debugging the gdbstub by showing which XML features are
advertised and what the underlying register numbers are.

My initial motivation was to see if there are any duplicate register
names exposed via the gdbstub while I was reviewing the proposed
register interface for TCG plugins.

Mismatches between the xml and remote-desc are reported for debugging
but do not fail the test.

We also skip the tests for the following arches for now until we can
investigate and fix any issues:

  - s390x (fails to read v0l->v15l, not seen in remote-registers)
  - ppc64 (fails to read vs0h->vs31h, not seen in remote-registers)

Cc: Akihiko Odaki <akihiko.odaki@daynix.com>
Cc: Luis Machado <luis.machado@linaro.org>
Cc: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: qemu-s390x@nongnu.org
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Daniel Henrique Barboza <danielhb413@gmail.com>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231106185112.2755262-7-alex.bennee@linaro.org>
2023-11-08 15:15:23 +00:00
..
gdbstub tests/tcg: clean-up gdb confirm/pagination settings 2023-08-30 14:57:50 +01:00
add-logical-with-carry.c tests/tcg/s390x: Test ADD LOGICAL WITH CARRY 2023-11-07 19:27:08 +01:00
bal.S tests/tcg/s390x: Add bal.S 2023-02-27 09:15:39 +01:00
br-odd.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
branch-relative-long.c
cdsg.c tests/tcg/s390x: Add cdsg.c 2023-02-04 06:19:42 -10:00
cgebra.c tests/tcg/s390x: Test CLGEBR and CGEBRA 2023-07-24 18:44:47 +02:00
cgrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
chrl.c tests/tcg/s390x: Add C(G)HRL test 2023-03-13 09:23:42 +01:00
cksm.S tests/tcg/s390x: Test CKSM 2023-07-24 18:44:47 +02:00
clc.c tests/tcg/s390x: Test CLC with inaccessible second operand 2023-11-07 19:27:08 +01:00
clgebr.c tests/tcg/s390x: Test CLGEBR and CGEBRA 2023-07-24 18:44:47 +02:00
clm.S tests/tcg/s390x: Test CLM 2023-07-24 18:44:47 +02:00
clrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
clst.c tests/tcg/s390x: Add clst.c 2023-02-04 06:19:42 -10:00
console.c tests/tcg/s390x: Enable the multiarch system tests 2023-05-16 09:14:18 +02:00
crl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
csst.c
div.c target/s390x: Use a single return for helper_divs64/u64 2023-02-04 06:19:42 -10:00
epsw.c tests/tcg/s390x: Test EPSW 2023-07-10 15:34:24 +02:00
ex-branch.c tests/tcg/s390x: Test EXECUTE of relative branches 2023-05-16 09:14:18 +02:00
ex-odd.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
ex-relative-long.c tests/tcg/s390x: Add ex-relative-long.c 2023-03-20 09:32:50 +01:00
exrl-ssm-early.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
exrl-trt.c
exrl-trtr.c
head64.S pc-bios/s390-ccw: Move the stack array into start.S 2023-06-29 20:45:12 +02:00
hello-s390x-asm.S tests/tcg/s390x: Fix test-svc with clang 2023-07-10 15:34:57 +02:00
hello-s390x.c
icm.S tests/tcg/s390x: Test ICM 2023-07-24 18:44:47 +02:00
ipm.c
laalg.c tests/tcg/s390x: Test LAALG with negative cc_src 2023-11-07 19:27:08 +01:00
larl.c tests/tcg/s390x: Test LARL with a large offset 2023-07-10 15:34:24 +02:00
lcbb.c tests/tcg/s390x: Test LCBB 2023-06-05 07:27:23 +02:00
lgrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
llgfrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
locfhr.c tests/tcg/s390x: Test LOCFHR 2023-06-05 07:27:23 +02:00
long-double.c tests/tcg/s390x: Add long-double.c 2023-02-04 06:19:42 -10:00
lpsw.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
lpswe-early.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
lpswe-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
lra.S tests/tcg/s390x: Test LRA 2023-07-10 15:34:24 +02:00
lrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
Makefile.softmmu-target tests/tcg/s390x: Test precise self-modifying code handling 2023-08-31 19:10:01 +02:00
Makefile.target tests/tcg: add an explicit gdbstub register tester 2023-11-08 15:15:23 +00:00
mc.S tests/tcg/s390x: Test MC 2023-07-24 18:44:47 +02:00
mdeb.c tests/tcg/s390x: Test MDEB and MDEBR 2023-07-10 15:34:24 +02:00
mie3-compl.c
mie3-mvcrl.c tests/tcg/s390x: Test MVCRL with a large value in R0 2023-07-10 15:34:24 +02:00
mie3-sel.c
mvc.c s390x: spelling fixes 2023-07-25 17:13:45 +03:00
mvo.c
mxdb.c tests/tcg/s390x: Test MXDB and MXDBR 2023-06-05 09:48:29 +02:00
noexec.c target/s390x: Make translator stop before the end of a page 2022-09-06 08:04:26 +01:00
pack.c
pgm-specification-softmmu.S tcg: Correct invalid mentions of 'softmmu' by 'system-mode' 2023-10-07 19:02:33 +02:00
pgm-specification-user.c tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
pgm-specification.mak tcg: Correct invalid mentions of 'softmmu' by 'system-mode' 2023-10-07 19:02:33 +02:00
precise-smc-softmmu.S tests/tcg/s390x: Test precise self-modifying code handling 2023-08-31 19:10:01 +02:00
precise-smc-user.c tests/tcg/s390x: Test precise self-modifying code handling 2023-08-31 19:10:01 +02:00
rxsbg.c tests/tcg/s390x: Add rxsbg.c 2023-03-20 09:32:50 +01:00
sam.S tests/tcg/s390x: Add sam.S 2023-02-27 09:15:39 +01:00
shift.c
signals-s390x.c
softmmu.ld tcg: Correct invalid mentions of 'softmmu' by 'system-mode' 2023-10-07 19:02:33 +02:00
ssm-early.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
stgrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
stosm-early.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
stpq.S tests/tcg/s390x: Test STPQ 2023-07-24 18:44:47 +02:00
strl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
trap.c
unaligned-lowcore.S
vcksm.c tests/tcg/s390x: Test VCKSM 2023-07-24 18:44:48 +02:00
vfminmax.c
vistr.c tests/tcg/s390x: Add a test for the vistr instruction 2022-10-28 08:34:58 +02:00
vrep.c tests/tcg/s390x: Test VREP 2023-08-23 12:06:44 +02:00
vstl.c tests/tcg/s390x: Test VSTL 2023-08-23 12:06:44 +02:00
vx.h tests/tcg/s390x: Test VCKSM 2023-07-24 18:44:48 +02:00
vxeh2_vcvt.c
vxeh2_vlstr.c
vxeh2_vs.c
vxeh2_vstrs.c tests/tcg/s390x: Test VSTRS 2023-08-23 12:07:30 +02:00