QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
479 B
19 lines
479 B
#ifndef GDBSTUB_H
|
|
#define GDBSTUB_H
|
|
|
|
#define DEFAULT_GDBSTUB_PORT "1234"
|
|
|
|
typedef void (*gdb_syscall_complete_cb)(CPUState *env,
|
|
target_ulong ret, target_ulong err);
|
|
|
|
void gdb_do_syscall(gdb_syscall_complete_cb cb, char *fmt, ...);
|
|
int use_gdb_syscalls(void);
|
|
#ifdef CONFIG_USER_ONLY
|
|
int gdb_handlesig (CPUState *, int);
|
|
void gdb_exit(CPUState *, int);
|
|
int gdbserver_start(int);
|
|
#else
|
|
int gdbserver_start(const char *port);
|
|
#endif
|
|
|
|
#endif
|
|
|