grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Glenn Washburn
Subject: [PATCH] tests/util/grub-shell: Print gdbinfo if on EFI platform
Date: Sat, 8 Jun 2024 21:22:31 -0500

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 <development@efficientek.com>
---
 tests/util/grub-shell.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in
index c0671cc46999..ae5f711fe26c 100644
--- a/tests/util/grub-shell.in
+++ b/tests/util/grub-shell.in
@@ -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
 
 
-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]