test-user-mode: handle exit status for signals. Fix #61.

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-08 00:00:04 +00:00
parent 7a007c66fe
commit 887dd8a31f
3 changed files with 16 additions and 6 deletions

View File

@@ -9286,7 +9286,7 @@ And in QEMU:
Or for a faster development loop:
....
./run --debug-vm --debug-vm-args '-ex "break edu_mmio_read" -ex "run"'
./run --debug-vm-args '-ex "break edu_mmio_read" -ex "run"'
....
When in <<qemu-text-mode>>, using `--debug-vm` makes Ctrl-C not get passed to the QEMU guest anymore: it is instead captured by GDB itself, so allow breaking. So e.g. you won't be able to easily quit from a guest program like: