2014-01-02 Mark Wielaard <mjw@redhat.com>
+ * stack.c (show_raw): Declare unconditionally.
+ (parse_opt): Handle '-r' unconditionally.
+ (main): Show "raw" option even without USE_DEMANGLE.
+
+2014-01-02 Mark Wielaard <mjw@redhat.com>
+
* stack.c (print_frames): Print 0x before build-id hex-offset.
2014-01-02 Mark Wielaard <mjw@redhat.com>
static bool show_source = false;
static bool show_one_tid = false;
static bool show_quiet = false;
-#ifdef USE_DEMANGLE
static bool show_raw = false;
-#endif
static bool show_modules = false;
static int maxframes = 2048;
show_quiet = true;
break;
-#ifdef USE_DEMANGLE
case 'r':
show_raw = true;
break;
-#endif
case '1':
show_one_tid = true;
N_("Show all additional information (activation, module and source)"), 0 },
{ "quiet", 'q', NULL, 0,
N_("Do not resolve address to function symbol name"), 0 },
-#ifdef USE_DEMANGLE
{ "raw", 'r', NULL, 0,
N_("Show raw function symbol names, do not try to demangle names"), 0 },
-#endif
{ "build-id", 'b', NULL, 0,
N_("Show module build-id, load address and pc offset"), 0 },
{ NULL, '1', NULL, 0,