Commit 772eb24
committed
boot-qemu.py: Check gdb_bin earlier
Otherwise, the call to sys.exit() in die() does not work and we end up
hanging.
Additionally, move it out of the while loop, as it does not make send to
check for gdb_bin every single time we want to invoke it.
Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>1 parent 6b17f8f commit 772eb24
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
| 757 | + | |
| 758 | + | |
757 | 759 | | |
758 | 760 | | |
759 | 761 | | |
| |||
766 | 768 | | |
767 | 769 | | |
768 | 770 | | |
769 | | - | |
770 | 771 | | |
771 | 772 | | |
772 | 773 | | |
| |||
0 commit comments