From: qwertial <> Date: Mon, 14 Oct 2013 01:40:20 +0000 (+0200) Subject: * grub-core/gdb_grub.in: Fix overflow and wrong field. X-Git-Tag: grub-2.02-beta1~710 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dac86b182c4125399925c8d92ec996ce20a0355c;p=thirdparty%2Fgrub.git * grub-core/gdb_grub.in: Fix overflow and wrong field. --- diff --git a/ChangeLog b/ChangeLog index 9ba4cee31..b254825c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-10-14 qwertial + + * grub-core/gdb_grub.in: Fix overflow and wrong field. + 2013-10-14 Jon McCune * docs/grub.texi: Document new signatures possibility. diff --git a/grub-core/gdb_grub.in b/grub-core/gdb_grub.in index 01ef3e15b..e322d3dc1 100644 --- a/grub-core/gdb_grub.in +++ b/grub-core/gdb_grub.in @@ -22,7 +22,7 @@ define dump_module_sections printf "%s", $mod->name set $segment = $mod->segment while ($segment) - printf " %i 0x%x", $segment->section, $segment->addr + printf " %i 0x%lx", $segment->section, $segment->addr set $segment = $segment->next end printf "\n" @@ -61,7 +61,7 @@ end define load_all_modules set $this = grub_dl_head while ($this != 0) - dump_module_sections $this->mod + dump_module_sections $this set $this = $this->next end match_and_load_symbols