diff options
author | bellard <bellard> | 2003-06-27 18:52:23 +0000 |
---|---|---|
committer | bellard <bellard> | 2003-06-27 18:52:23 +0000 |
commit | dbe0315a813347252c559aa1c657c889a9178f33 (patch) | |
tree | c2e5e91d19e9c37d399983f39f1113b05c57f4ff /qemu/cpu-all.h | |
parent | f48ea8591370534f5c7edcc943450053b7452b72 (diff) |
gdb stub defines
Diffstat (limited to 'qemu/cpu-all.h')
-rw-r--r-- | qemu/cpu-all.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qemu/cpu-all.h b/qemu/cpu-all.h index 13af7c20..cc0a4ea3 100644 --- a/qemu/cpu-all.h +++ b/qemu/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 */ |