]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/main.c
bsd-user: Add '-one-insn-per-tb' option equivalent to '-singlestep'
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Apr 2023 16:40:36 +0000 (17:40 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 May 2023 14:47:40 +0000 (15:47 +0100)
commit060e0cd7519ada4019e513fce1af4dc307002b7c
treece33200098da11accbc76149a2c1eaa5b6d4229a
parente99c1f89b2c9e779f17f3abab48ca78392977741
bsd-user: Add '-one-insn-per-tb' option equivalent to '-singlestep'

The '-singlestep' option is confusing, because it doesn't actually
have anything to do with single-stepping the CPU. What it does do
is force TCG emulation to put one guest instruction in each TB,
which can be useful in some situations.

Create a new command line argument -one-insn-per-tb, so we can
document that -singlestep is just a deprecated synonym for it,
and eventually perhaps drop it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230417164041.684562-6-peter.maydell@linaro.org
bsd-user/main.c
docs/user/main.rst