]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Fill in message formatting info for .debug_ranges
authorPetr Machata <pmachata@redhat.com>
Thu, 29 Jan 2009 17:00:48 +0000 (18:00 +0100)
committerPetr Machata <pmachata@redhat.com>
Thu, 29 Jan 2009 17:00:48 +0000 (18:00 +0100)
src/dwarflint.c

index 90786ae30d3db2796a43b91507411c0523e7bdc7..107259390f4698bfe3710deed9742fe6a8161dc1 100644 (file)
@@ -693,8 +693,8 @@ static const char *where_fmt (struct where *wh, char *ptr)
       [sec_locexpr] = {"location expression", "offset", "%#"PRIx64,
                       NULL, NULL, NULL, NULL},
 
-      [sec_ranges] = {".debug_ranges", NULL, NULL, /* XXX fill me */
-                     NULL, NULL, NULL, NULL}
+      [sec_ranges] = {".debug_ranges", "rangelist", "%#"PRIx64,
+                     "offset", "%#"PRIx64, NULL, NULL}
     };
 
   assert (wh->section < sizeof (section_names) / sizeof (*section_names));