aboutsummaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-27 18:52:23 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-27 18:52:23 +0000
commit3b0dca51b0cefb662f1d2757fcccfd563c58b2b9 (patch)
tree789ad89d0857d8792e91dc94e7a0d37f5696f7c5 /cpu-all.h
parentda415d54bfea85f6321f5b03c953b48cbbd5d217 (diff)
downloadqemu-3b0dca51b0cefb662f1d2757fcccfd563c58b2b9.zip
qemu-3b0dca51b0cefb662f1d2757fcccfd563c58b2b9.tar.gz
qemu-3b0dca51b0cefb662f1d2757fcccfd563c58b2b9.tar.bz2
gdb stub defines
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@290 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 13af7c2..cc0a4ea 100644
--- 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 */