From: Glenn Washburn Date: Sun, 9 Jun 2024 02:22:31 +0000 (-0500) Subject: tests/util/grub-shell: Print gdbinfo if on EFI platform X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88a7e64c2c38ff5d42098427e87563bceae3a4ba;p=thirdparty%2Fgrub.git 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. Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index 496e1bab3..3113cc3a2 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -360,6 +360,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