summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2011-03-08 19:20:03 +0100
committerPetr Machata <pmachata@redhat.com>2011-03-08 19:20:03 +0100
commite2ffae3e282d8cf5db74d27f1e0c89a235a7e7b8 (patch)
treea9d960fae3e2bbd58c2343410509d822fa075f49
parentf9d71da24e497af7fc00bf38f88e494053b06a81 (diff)
downloadelfutils-e2ffae3e282d8cf5db74d27f1e0c89a235a7e7b8.tar.gz
dwarflint: Put the --dump-offsets option to the right group
-rw-r--r--dwarflint/check_debug_info.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/dwarflint/check_debug_info.cc b/dwarflint/check_debug_info.cc
index 348dad0d..1ad33bca 100644
--- a/dwarflint/check_debug_info.cc
+++ b/dwarflint/check_debug_info.cc
@@ -54,12 +54,17 @@ read_cu_headers::descriptor ()
return &cd;
}
+static void_option
+ dump_die_offsets ("Dump DIE offsets to stderr as the tree is iterated.",
+ "dump-offsets");
+
checkdescriptor const *
check_debug_info::descriptor ()
{
static checkdescriptor cd
(checkdescriptor::create ("check_debug_info")
.groups ("@low")
+ .option (dump_die_offsets)
.prereq<typeof (*_m_sec_info)> ()
.prereq<typeof (*_m_sec_str)> ()
.prereq<typeof (*_m_abbrevs)> ()
@@ -97,10 +102,6 @@ check_debug_info::descriptor ()
return &cd;
}
-static void_option
- dump_die_offsets ("Dump DIE offsets to stderr as the tree is iterated.",
- "dump-offsets");
-
namespace
{
bool
@@ -1171,7 +1172,6 @@ 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 (