* grub-core/gdb_grub.in: Fix overflow and wrong field.

This commit is contained in:
qwertial 2013-10-14 03:40:20 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 17614b8426
commit dac86b182c
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-10-14 qwertial <qwertial>
* grub-core/gdb_grub.in: Fix overflow and wrong field.
2013-10-14 Jon McCune <jonmccune@google.com> 2013-10-14 Jon McCune <jonmccune@google.com>
* docs/grub.texi: Document new signatures possibility. * docs/grub.texi: Document new signatures possibility.

View file

@ -22,7 +22,7 @@ define dump_module_sections
printf "%s", $mod->name printf "%s", $mod->name
set $segment = $mod->segment set $segment = $mod->segment
while ($segment) while ($segment)
printf " %i 0x%x", $segment->section, $segment->addr printf " %i 0x%lx", $segment->section, $segment->addr
set $segment = $segment->next set $segment = $segment->next
end end
printf "\n" printf "\n"
@ -61,7 +61,7 @@ end
define load_all_modules define load_all_modules
set $this = grub_dl_head set $this = grub_dl_head
while ($this != 0) while ($this != 0)
dump_module_sections $this->mod dump_module_sections $this
set $this = $this->next set $this = $this->next
end end
match_and_load_symbols match_and_load_symbols