diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2024-03-05 12:09:46 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2024-03-06 12:35:19 +0000 |
| commit | e454f2fe24793afd1fa596deb42b714478adf73b (patch) | |
| tree | a42367a0bd509597f401f04fdc2b919e251020f5 /gdbstub/user.c | |
| parent | 6d923112fd18f73bd55cbae23ae5a8023457b85c (diff) | |
| download | focaccia-qemu-e454f2fe24793afd1fa596deb42b714478adf73b.tar.gz focaccia-qemu-e454f2fe24793afd1fa596deb42b714478adf73b.zip | |
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>
Diffstat (limited to 'gdbstub/user.c')
| -rw-r--r-- | gdbstub/user.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdbstub/user.c b/gdbstub/user.c index c9e8b83d72..b048754c4f 100644 --- a/gdbstub/user.c +++ b/gdbstub/user.c @@ -386,6 +386,11 @@ void gdb_handle_query_supported_user(const char *gdb_supported) { } +bool gdb_handle_set_thread_user(uint32_t pid, uint32_t tid) +{ + return false; +} + /* * Execution state helpers */ |