diff options
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 */ |