mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
{linux,bsd}-user: Pass pid to gdbserver_fork()
The upcoming follow-fork-mode child support requires knowing the child pid. Pass it down. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Message-Id: <20240219141628.246823-7-iii@linux.ibm.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240305121005.3528075-8-alex.bennee@linaro.org>
This commit is contained in:
parent
4edc98fcc8
commit
9d456e092d
4 changed files with 4 additions and 4 deletions
|
@ -54,7 +54,7 @@ void gdbserver_fork_start(void);
|
|||
* gdbserver_fork() - disable gdb stub for child processes.
|
||||
* @cs: CPU
|
||||
*/
|
||||
void gdbserver_fork(CPUState *cs);
|
||||
void gdbserver_fork(CPUState *cs, pid_t pid);
|
||||
|
||||
/**
|
||||
* gdb_syscall_entry() - inform gdb of syscall entry and yield control to it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue