All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/util/grub-shell: Print gdbinfo if on EFI platform
@ 2024-06-09  2:22 Glenn Washburn
  2024-06-12 16:17 ` Daniel Kiper
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Washburn @ 2024-06-09  2:22 UTC (permalink / raw)
  To: grub-devel, Daniel Kiper; +Cc: Glenn Washburn

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


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tests/util/grub-shell: Print gdbinfo if on EFI platform
  2024-06-09  2:22 [PATCH] tests/util/grub-shell: Print gdbinfo if on EFI platform Glenn Washburn
@ 2024-06-12 16:17 ` Daniel Kiper
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Kiper @ 2024-06-12 16:17 UTC (permalink / raw)
  To: Glenn Washburn; +Cc: grub-devel

On Sat, Jun 08, 2024 at 09:22:31PM -0500, Glenn Washburn wrote:
> 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>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-12 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-09  2:22 [PATCH] tests/util/grub-shell: Print gdbinfo if on EFI platform Glenn Washburn
2024-06-12 16:17 ` Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.