summaryrefslogtreecommitdiff
path: root/gdbstub.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-28 01:53:16 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-28 01:53:16 +0000
commit4046d9130ebf3fb4dbb3fa49dfc7e23df7e59d87 (patch)
treeb1cf329700df15183d615e7af51dcd0326308e39 /gdbstub.h
parentf749998939e564d8b8363bd6148b7a067d6bc9e3 (diff)
Use standard character device interface for gdbstub.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2363 c046a42c-6fe2-441c-8c8c-71466251a162
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 7b42596f1..c9d5c6827 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