commit | 64f6b3469d5983141707dfc5ec2e8f5f60af1ba0 | [log] [tgz] |
---|---|---|
author | Andreas Färber <afaerber@suse.de> | Mon May 27 02:06:09 2013 +0200 |
committer | Andreas Färber <afaerber@suse.de> | Fri Jun 28 13:25:13 2013 +0200 |
tree | 4edd0b3c56ad137956441c98eb9d77ea3bffdd7e | |
parent | 1458c363139a54f50ea336edc612d8c5e9142220 [diff] [blame] |
gdbstub: Set gdb_set_stop_cpu() argument to CPUState Use CPUState::env_ptr for now. Prepares for changing cpu_handle_guest_debug() argument to CPUState. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Andreas Färber <afaerber@suse.de>
diff --git a/cpus.c b/cpus.c index 12f6f32..54acced 100644 --- a/cpus.c +++ b/cpus.c
@@ -463,7 +463,7 @@ { CPUState *cpu = ENV_GET_CPU(env); - gdb_set_stop_cpu(env); + gdb_set_stop_cpu(cpu); qemu_system_debug_request(); cpu->stopped = true; }