diff options
author | Andreas Färber <afaerber@suse.de> | 2013-05-17 18:26:54 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-06-28 13:25:12 +0200 |
commit | 60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094 (patch) | |
tree | 1b543cad3d08d8f79df37b72554bd01dcce5ebe1 /gdbstub.c | |
parent | cb446ecab714b2444a270be209e0533bcd2ee534 (diff) | |
download | qemu-60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094.tar.gz qemu-60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094.tar.bz2 qemu-60a3e17a469e444a7bc4d9a14c2ecf3bdb5ec094.zip |
cpu: Change cpu_exit() argument to CPUState
It no longer depends on CPUArchState, so move it to qom/cpu.c.
Prepares for changing GDBState::c_cpu to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'gdbstub.c')
-rw-r--r-- | gdbstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2655,7 +2655,7 @@ void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...) is still in the running state, which can cause packets to be dropped and state transition 'T' packets to be sent while the syscall is still being processed. */ - cpu_exit(s->c_cpu); + cpu_exit(ENV_GET_CPU(s->c_cpu)); #endif } |