From 11b9c2dd0d341a319209b8555db2d5d1f13fa152 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Thu, 16 Jan 2025 13:25:14 +0100 Subject: [PATCH] gdb_helper: Typo hueristic %s/hueristic/heuristic/ Signed-off-by: Heinrich Schuchardt Reviewed-by: Ross Philipson Reviewed-by: Daniel Kiper --- grub-core/gdb_helper.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/gdb_helper.py.in b/grub-core/gdb_helper.py.in index 5ed9eab0f..a2cab416a 100644 --- a/grub-core/gdb_helper.py.in +++ b/grub-core/gdb_helper.py.in @@ -10,7 +10,7 @@ gdb.prompt_hook = prompt_hook class IsGrubLoaded (gdb.Function): """Return 1 if GRUB has been loaded in memory, otherwise 0. -The hueristic used is checking if the first 4 bytes of the memory pointed +The heuristic used is checking if the first 4 bytes of the memory pointed to by the _start symbol are not 0. This is true for QEMU on the first run of GRUB. This may not be true on physical hardware, where memory is not necessarily cleared on soft reset. This may not also be true in QEMU on