diff options
author | Petr Machata <pmachata@redhat.com> | 2011-03-04 21:28:40 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2011-03-04 21:28:40 +0100 |
commit | e4740bd0414f5d5c8f355b21fdcb7dbf06aff58c (patch) | |
tree | 88c886d7c4d73fd3dcfee350081e7f0c140f7ddd | |
parent | 32cd3deee4da8d241d437b204c76d9d8f11fb7c7 (diff) | |
download | elfutils-e4740bd0414f5d5c8f355b21fdcb7dbf06aff58c.tar.gz |
dwarflint: Publish the option --dump-offsets
- must have been forgotten
- and one coding style nit
-rw-r--r-- | dwarflint/check_debug_info.cc | 1 | ||||
-rw-r--r-- | dwarflint/check_debug_line.cc | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/dwarflint/check_debug_info.cc b/dwarflint/check_debug_info.cc index 59792d5c..e13b0fe6 100644 --- a/dwarflint/check_debug_info.cc +++ b/dwarflint/check_debug_info.cc @@ -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 ( diff --git a/dwarflint/check_debug_line.cc b/dwarflint/check_debug_line.cc index d4675bab..14f91080 100644 --- a/dwarflint/check_debug_line.cc +++ b/dwarflint/check_debug_line.cc @@ -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 ()) { |