diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2023-03-02 18:57:50 -0800 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2023-03-07 20:44:08 +0000 |
| commit | 8a2025b36b4f7a20f1bbbcf52d9d6c10094ffd49 (patch) | |
| tree | e89ecbe12e5bb5eafcd500e1352cf52d7396a2b2 /gdbstub/user.c | |
| parent | a7e0f9bd2ace16df2aa557b0670c20bfe9cef280 (diff) | |
| download | focaccia-qemu-8a2025b36b4f7a20f1bbbcf52d9d6c10094ffd49.tar.gz focaccia-qemu-8a2025b36b4f7a20f1bbbcf52d9d6c10094ffd49.zip | |
gdbstub: specialise handle_query_attached
In both user and softmmu cases we are just replying with a constant. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230302190846.2593720-15-alex.bennee@linaro.org> Message-Id: <20230303025805.625589-15-richard.henderson@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 0c8cd028b1..c0fd83b373 100644 --- a/gdbstub/user.c +++ b/gdbstub/user.c @@ -345,6 +345,11 @@ void gdbserver_fork(CPUState *cpu) * Execution state helpers */ +void gdb_handle_query_attached(GArray *params, void *user_ctx) +{ + gdb_put_packet("0"); +} + void gdb_continue(void) { gdbserver_user_state.running_state = 1; |