]> Git Repo - qemu.git/commitdiff
gdb stub defines
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Jun 2003 18:52:23 +0000 (18:52 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Jun 2003 18:52:23 +0000 (18:52 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@290 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-all.h

index 13af7c2086c02eeb20f65f0d587a02b2661890d0..cc0a4ea33fdb22faeb5e3e8dce46babf1dcd0888 100644 (file)
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -304,7 +304,14 @@ void page_unprotect_range(uint8_t *data, unsigned long data_size);
 
 #endif /* SINGLE_CPU_DEFINES */
 
+#define DEFAULT_GDBSTUB_PORT 1234
+
 void cpu_abort(CPUState *env, const char *fmt, ...);
 extern CPUState *cpu_single_env;
 
+/* gdb stub API */
+extern int gdbstub_fd;
+CPUState *cpu_gdbstub_get_env(void *opaque);
+int cpu_gdbstub(void *opaque, void (*main_loop)(void *opaque), int port);
+
 #endif /* CPU_ALL_H */
This page took 0.026292 seconds and 4 git commands to generate.