summaryrefslogtreecommitdiff
path: root/include/exec/gdbstub.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-27 17:45:01 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-23 02:41:32 +0200
commit9e0c5422cfbed78990e2edc9d68928647829f5ac (patch)
treeb7989d64f42d37959af78795f2a0f0ed63abeb36 /include/exec/gdbstub.h
parent6227881415e0e0117d56aef90cf6e72f24187ec1 (diff)
downloadqemu-9e0c5422cfbed78990e2edc9d68928647829f5ac.tar.gz
qemu-9e0c5422cfbed78990e2edc9d68928647829f5ac.tar.bz2
qemu-9e0c5422cfbed78990e2edc9d68928647829f5ac.zip
gdbstub: Change syscall callback argument to CPUState
Callback implementations were specific to arm and m68k, so can easily cast to ARMCPU and M68kCPU respectively. Prepares for changing GDBState::c_cpu to CPUState. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/exec/gdbstub.h')
-rw-r--r--include/exec/gdbstub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h
index ded4160e57..de0f4fb5b4 100644
--- a/include/exec/gdbstub.h
+++ b/include/exec/gdbstub.h
@@ -11,7 +11,7 @@
#define GDB_WATCHPOINT_ACCESS 4
#ifdef NEED_CPU_H
-typedef void (*gdb_syscall_complete_cb)(CPUArchState *env,
+typedef void (*gdb_syscall_complete_cb)(CPUState *cpu,
target_ulong ret, target_ulong err);
void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...);