diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2024-03-05 12:09:38 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-03-06 12:35:19 +0000 |
commit | 1ea96f1ded914c64c5a6df78b8d0663daebc828c (patch) | |
tree | 17f0f3a123027da43cc11ad218370298c248433f /linux-user/vm86.c | |
parent | 13ddcf0a7a52ce17c836edbe6fc161a40269ce13 (diff) |
gdbstub: Support disablement in a multi-threaded process
The upcoming follow-fork-mode child support will require disabling
gdbstub in the parent process, which may have multiple threads (which
are represented as CPUs).
Loop over all CPUs in order to remove breakpoints and disable
single-step. Move the respective code into a separate function.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240219141628.246823-2-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-3-alex.bennee@linaro.org>
Diffstat (limited to 'linux-user/vm86.c')
0 files changed, 0 insertions, 0 deletions