Commit 4beafc6
committed
boot-qemu.py: fix ctrl+c in gdb
Detach QEMU from the process group so that SIGINT isn't also delivered
to it.
Ignore SIGINT in python when running GDB subprocess.
Link: https://stackoverflow.com/a/13737455
Link: https://stackoverflow.com/q/30925198
Fixes: #861 parent 64b7d42 commit 4beafc6
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| 758 | + | |
758 | 759 | | |
759 | 760 | | |
760 | 761 | | |
| |||
766 | 767 | | |
767 | 768 | | |
768 | 769 | | |
769 | | - | |
| 770 | + | |
| 771 | + | |
770 | 772 | | |
771 | 773 | | |
772 | 774 | | |
773 | 775 | | |
774 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
775 | 782 | | |
776 | 783 | | |
777 | 784 | | |
| |||
0 commit comments