gdbstub: Introduce gdb_handle_detach_user()
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 5 Mar 2024 12:09:47 +0000 (12:09 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 6 Mar 2024 12:35:19 +0000 (12:35 +0000)
commit539cb4ec49ec96aeb9dddba235c2f8bafc1c4fab
tree9408b1ea6ea10f48ff91615d16960d447118e9fd
parente454f2fe24793afd1fa596deb42b714478adf73b
gdbstub: Introduce gdb_handle_detach_user()

The upcoming follow-fork-mode child support needs to perform certain
actions when GDB detaches from the stopped parent or the stopped child.
Introduce a user-specific hook for this.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240219141628.246823-11-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-12-alex.bennee@linaro.org>
gdbstub/gdbstub.c
gdbstub/internals.h
gdbstub/user.c