mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
gdbstub: Introduce gdbserver_fork_start()
The upcoming follow-fork-mode child support requires knowing when fork() is about to happen in order to initialize its state. Add a hook for that. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Message-Id: <20240219141628.246823-5-iii@linux.ibm.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240305121005.3528075-6-alex.bennee@linaro.org>
This commit is contained in:
parent
d4e1369abe
commit
3d6ed98da8
4 changed files with 11 additions and 0 deletions
|
@ -356,6 +356,10 @@ int gdbserver_start(const char *port_or_path)
|
|||
return -1;
|
||||
}
|
||||
|
||||
void gdbserver_fork_start(void)
|
||||
{
|
||||
}
|
||||
|
||||
static void disable_gdbstub(CPUState *thread_cpu)
|
||||
{
|
||||
CPUState *cpu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue