gdbstub.h (9a4750143cefeee18727f2c5ede5b6a4ad80ff01) gdbstub.h (ac1e86710000ba3cf2e80836fb3f66ba12b169b8)
1#ifndef GDBSTUB_H
2#define GDBSTUB_H
3
4#define DEFAULT_GDBSTUB_PORT "1234"
5
6/* GDB breakpoint/watchpoint types */
7#define GDB_BREAKPOINT_SW 0
8#define GDB_BREAKPOINT_HW 1

--- 24 unchanged lines hidden (view full) ---

33 * @get_reg - get function (gdb reading)
34 * @set_reg - set function (gdb modifying)
35 * @num_regs - number of registers in set
36 * @xml - xml name of set
37 * @gpos - non-zero to append to "general" register set at @gpos
38 */
39void gdb_register_coprocessor(CPUState *cpu,
40 gdb_get_reg_cb get_reg, gdb_set_reg_cb set_reg,
1#ifndef GDBSTUB_H
2#define GDBSTUB_H
3
4#define DEFAULT_GDBSTUB_PORT "1234"
5
6/* GDB breakpoint/watchpoint types */
7#define GDB_BREAKPOINT_SW 0
8#define GDB_BREAKPOINT_HW 1

--- 24 unchanged lines hidden (view full) ---

33 * @get_reg - get function (gdb reading)
34 * @set_reg - set function (gdb modifying)
35 * @num_regs - number of registers in set
36 * @xml - xml name of set
37 * @gpos - non-zero to append to "general" register set at @gpos
38 */
39void gdb_register_coprocessor(CPUState *cpu,
40 gdb_get_reg_cb get_reg, gdb_set_reg_cb set_reg,
41 int num_regs, const char *xml, int g_pos);
41 const GDBFeature *feature, int g_pos);
42
43/**
44 * gdbserver_start: start the gdb server
45 * @port_or_device: connection spec for gdb
46 *
47 * For CONFIG_USER this is either a tcp port or a path to a fifo. For
48 * system emulation you can use a full chardev spec for your gdbserver
49 * port.

--- 61 unchanged lines hidden ---
42
43/**
44 * gdbserver_start: start the gdb server
45 * @port_or_device: connection spec for gdb
46 *
47 * For CONFIG_USER this is either a tcp port or a path to a fifo. For
48 * system emulation you can use a full chardev spec for your gdbserver
49 * port.

--- 61 unchanged lines hidden ---