summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2011-03-04 21:28:40 +0100
committerPetr Machata <pmachata@redhat.com>2011-03-04 21:28:40 +0100
commite4740bd0414f5d5c8f355b21fdcb7dbf06aff58c (patch)
tree88c886d7c4d73fd3dcfee350081e7f0c140f7ddd
parent32cd3deee4da8d241d437b204c76d9d8f11fb7c7 (diff)
downloadelfutils-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.cc1
-rw-r--r--dwarflint/check_debug_line.cc4
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 ())
{