mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
SIGINT generation (Jason Wessel)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1836 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
@@ -654,9 +654,11 @@ static void gdb_vm_stopped(void *opaque, int reason)
|
||||
if (reason == EXCP_DEBUG) {
|
||||
tb_flush(s->env);
|
||||
ret = SIGTRAP;
|
||||
}
|
||||
else
|
||||
} else if (reason == EXCP_INTERRUPT) {
|
||||
ret = SIGINT;
|
||||
} else {
|
||||
ret = 0;
|
||||
}
|
||||
snprintf(buf, sizeof(buf), "S%02x", ret);
|
||||
put_packet(s, buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user