]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/gdb_grub.in: Fix overflow and wrong field.
authorqwertial <>
Mon, 14 Oct 2013 01:40:20 +0000 (03:40 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 14 Oct 2013 01:40:20 +0000 (03:40 +0200)
ChangeLog
grub-core/gdb_grub.in

index 9ba4cee3143902ecda931bbbb4fe2eb0bef63d5c..b254825c35089465ee715d82b76470c8be36a92b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 01ef3e15b75c148af861880d200a4c9e33d8c904..e322d3dc1086448b02cebfcc7e600554a37b2171 100644 (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