]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: Publish the option --dump-offsets
authorPetr Machata <pmachata@redhat.com>
Fri, 4 Mar 2011 20:28:40 +0000 (21:28 +0100)
committerPetr Machata <pmachata@redhat.com>
Fri, 4 Mar 2011 20:28:40 +0000 (21:28 +0100)
- must have been forgotten
- and one coding style nit

dwarflint/check_debug_info.cc
dwarflint/check_debug_line.cc

index 59792d5c3881abd39881e52acb3b5e295a95fe99..e13b0fe69eee5d2b506e89c2a32ccf1b73c30bf5 100644 (file)
@@ -1144,6 +1144,7 @@ check_debug_info_refs::descriptor ()
   static checkdescriptor cd
     (checkdescriptor::create ("check_debug_info_refs")
      .groups ("@low")
+     .option (dump_die_offsets)
      .prereq<typeof (*_m_info)> ()
      .prereq<typeof (*_m_line)> ()
      .description (
index d4675babb06f0f4eacd1fba46eb81e0c4c8db845..14f91080d67a4d50e01449bd4dda13f54905757d 100644 (file)
@@ -125,8 +125,8 @@ namespace
   }
 
   bool
-    use_file (files_t &files, uint64_t file_idx,
-             where *where, char const *msg = "")
+  use_file (files_t &files, uint64_t file_idx,
+           where *where, char const *msg = "")
   {
     if (file_idx == 0 || file_idx > files.size ())
       {