Skip to contentSkip to conversation

tests/util/grub-shell: Print gdbinfo if on EFI platform

PATCH In review Glenn Washburn 2 participants 2 messages Jun 9, 2024 – Jun 12, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/util/grub-shell: Print gdbinfo if on EFI platform

Allow using GDB to debug a failing QEMU test. This output does not cause issues for tests because it happens before the trim line, and so will be ignored.

---
 tests/util/grub-shell.in | 3 +++
 1 file changed, 3 insertions(+)
tests/util/grub-shell.in +3 -0
index c0671cc46999..ae5f711fe26c 100644
@@ -455,6 +455,9 @@ halt_cmd=${halt_cmd}
 export halt_cmd
 enable_progress_indicator=0
 export enable_progress_indicator
+if [ "${grub_modinfo_platform}" == efi ]; then
+  gdbinfo
+fi
 EOF
 
 
Signature · 7 lines
2.34.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel