]> git.ipfire.org Git - thirdparty/qemu.git/commit
gdbstub: Introduce gdb_handle_set_thread_user()
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 5 Mar 2024 12:09:46 +0000 (12:09 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 6 Mar 2024 12:35:19 +0000 (12:35 +0000)
commite454f2fe24793afd1fa596deb42b714478adf73b
treea42367a0bd509597f401f04fdc2b919e251020f5
parent6d923112fd18f73bd55cbae23ae5a8023457b85c
gdbstub: Introduce gdb_handle_set_thread_user()

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

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