Use standard character device interface for gdbstub.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2363 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/gdbstub.h b/gdbstub.h
index 7b42596..c9d5c68 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