aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-03-25 17:37:52 +0100
committerDavid 'Digit' Turner <digit@google.com>2014-04-09 19:43:26 +0200
commit0b1a84571c04503c5fb1ac012483f03454e2b140 (patch)
tree785f3dcb2722f002fe1166889bacaf9b7b014d63 /include
parentaaef275467ba13162d52ef6f690fd97f9733eb58 (diff)
downloadqemu-0b1a84571c04503c5fb1ac012483f03454e2b140.tar.gz
gdb: CPUOldState -> CpuState.
Change parameter type and modify callers. Change-Id: Iafcfe694279f715ed0b0fd92a55dfe884d0330e5
Diffstat (limited to 'include')
-rw-r--r--include/exec/gdbstub.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h
index 79c637ddbe..4d122d041b 100644
--- a/include/exec/gdbstub.h
+++ b/include/exec/gdbstub.h
@@ -13,22 +13,22 @@
#ifdef NEED_CPU_H
#include "cpu.h"
-typedef void (*gdb_syscall_complete_cb)(CPUOldState *env,
+typedef void (*gdb_syscall_complete_cb)(CPUState *env,
target_ulong ret, target_ulong err);
void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...);
int use_gdb_syscalls(void);
-void gdb_set_stop_cpu(CPUOldState *env);
-void gdb_exit(CPUOldState *, int);
+void gdb_set_stop_cpu(CPUState *env);
+void gdb_exit(CPUArchState *, int);
#ifdef CONFIG_USER_ONLY
int gdb_queuesig (void);
-int gdb_handlesig (CPUOldState *, int);
+int gdb_handlesig (CPUState *, int);
void gdb_signalled(CPUArchState *, int);
void gdbserver_fork(CPUArchState *);
#endif
/* Get or set a register. Returns the size of the register. */
typedef int (*gdb_reg_cb)(CPUArchState *env, uint8_t *buf, int reg);
-void gdb_register_coprocessor(CPUOldState *env,
+void gdb_register_coprocessor(CPUState *cpu,
gdb_reg_cb get_reg, gdb_reg_cb set_reg,
int num_regs, const char *xml, int g_pos);