tests/tcg: Add two follow-fork-mode tests
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 5 Mar 2024 12:09:49 +0000 (12:09 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 6 Mar 2024 12:35:19 +0000 (12:35 +0000)
commitb9504c9ad980b97e6888bf07c36c2be567b4c65d
tree2742ac5058997f39b587a29962c96d0d6a9f4e51
parentd547e711a8a520b1a160958443c0851a6767f95b
tests/tcg: Add two follow-fork-mode tests

Add follow-fork-mode child and and follow-fork-mode parent tests.
Check for the obvious pitfalls, such as lingering breakpoints,
catchpoints, and single-step mode.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240219141628.246823-13-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-14-alex.bennee@linaro.org>
tests/tcg/multiarch/Makefile.target
tests/tcg/multiarch/follow-fork-mode.c [new file with mode: 0644]
tests/tcg/multiarch/gdbstub/follow-fork-mode-child.py [new file with mode: 0644]
tests/tcg/multiarch/gdbstub/follow-fork-mode-parent.py [new file with mode: 0644]