From ca587a8ebdb4bfb30d3080ea5721882209911670 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Thu, 18 Dec 2008 22:44:13 +0000 Subject: User-mode GDB stub improvements - handle signals Handle signals in the user-mode GDB stub. Report them to GDB, and allow it to change or cancel them. Also correct the protocol numbering; it happens to match Linux numbering for SIGINT and SIGTRAP, but that's just good fortune. Signed-off-by: Daniel Jacobowitz Acked-by: Edgar E. Iglesias Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6096 c046a42c-6fe2-441c-8c8c-71466251a162 --- gdbstub.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdbstub.h') diff --git a/gdbstub.h b/gdbstub.h index 4bfd872..c7d1c4b 100644 --- a/gdbstub.h +++ b/gdbstub.h @@ -10,8 +10,10 @@ void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...); int use_gdb_syscalls(void); void gdb_set_stop_cpu(CPUState *env); #ifdef CONFIG_USER_ONLY +int gdb_queuesig (void); int gdb_handlesig (CPUState *, int); void gdb_exit(CPUState *, int); +void gdb_signalled(CPUState *, int); int gdbserver_start(int); void gdbserver_fork(CPUState *); #else -- cgit v1.1