summaryrefslogtreecommitdiff
path: root/gdbstub.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbstub.h')
-rw-r--r--gdbstub.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdbstub.h b/gdbstub.h
index 7b42596f15..c9d5c6827a 100644
--- a/gdbstub.h
+++ b/gdbstub.h
@@ -6,7 +6,9 @@
#ifdef CONFIG_USER_ONLY
int gdb_handlesig (CPUState *, int);
void gdb_exit(CPUState *, int);
-#endif
int gdbserver_start(int);
+#else
+int gdbserver_start(CharDriverState *chr);
+#endif
#endif