* 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>
* docs/grub.texi: Document new signatures possibility.

View File

@ -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