Revision 54fc6ea9 vl.c
b/vl.c | ||
---|---|---|
2920 | 2920 |
|
2921 | 2921 |
if (ret == EXCP_DEBUG) { |
2922 | 2922 |
gdb_set_stop_cpu(env); |
2923 |
debug_requested = 1;
|
|
2923 |
debug_requested = EXCP_DEBUG;
|
|
2924 | 2924 |
break; |
2925 | 2925 |
} |
2926 | 2926 |
} |
... | ... | |
2983 | 2983 |
#endif |
2984 | 2984 |
} while (vm_can_run()); |
2985 | 2985 |
|
2986 |
if (qemu_debug_requested()) {
|
|
2987 |
vm_stop(EXCP_DEBUG);
|
|
2986 |
if ((r = qemu_debug_requested())) {
|
|
2987 |
vm_stop(r);
|
|
2988 | 2988 |
} |
2989 | 2989 |
if (qemu_shutdown_requested()) { |
2990 | 2990 |
monitor_protocol_event(QEVENT_SHUTDOWN, NULL); |
Also available in: Unified diff