Revision 1c14f162 gdbstub.h

b/gdbstub.h
10 10
#define GDB_WATCHPOINT_READ      3
11 11
#define GDB_WATCHPOINT_ACCESS    4
12 12

  
13
#ifdef NEED_CPU_H
13 14
typedef void (*gdb_syscall_complete_cb)(CPUState *env,
14 15
                                        target_ulong ret, target_ulong err);
15 16

  
......
21 22
int gdb_handlesig (CPUState *, int);
22 23
void gdb_exit(CPUState *, int);
23 24
void gdb_signalled(CPUState *, int);
24
int gdbserver_start(int);
25 25
void gdbserver_fork(CPUState *);
26
#else
27
int gdbserver_start(const char *port);
28 26
#endif
29 27
/* Get or set a register.  Returns the size of the register.  */
30 28
typedef int (*gdb_reg_cb)(CPUState *env, uint8_t *buf, int reg);
......
33 31
                              int num_regs, const char *xml, int g_pos);
34 32

  
35 33
#endif
34

  
35
#ifdef CONFIG_USER_ONLY
36
int gdbserver_start(int);
37
#else
38
int gdbserver_start(const char *port);
39
#endif
40

  
41
#endif

Also available in: Unified diff