gdbstub: Call gdbserver_fork() both in parent and in child
commit6604b05763515f6329bf508ff1284651ebffc33e
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 5 Mar 2024 12:09:44 +0000 (5 12:09 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 6 Mar 2024 12:35:19 +0000 (6 12:35 +0000)
treeeb55af54f5df76ba3f639394b5d68969eda949a1
parent9d456e092da670324f37f269d29300eedb915c3b
gdbstub: Call gdbserver_fork() both in parent and in child

The upcoming follow-fork-mode child support requires post-fork message
exchange between the parent and the child. Prepare gdbserver_fork() for
this purpose. Rename it to gdbserver_fork_end() to better reflect its
purpose.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240219141628.246823-8-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-9-alex.bennee@linaro.org>
bsd-user/main.c
gdbstub/user.c
include/gdbstub/user.h
linux-user/main.c