diff options
Diffstat (limited to 'gdb/demangle.c')
-rw-r--r-- | gdb/demangle.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/demangle.c b/gdb/demangle.c index a37b065..8b341ee 100644 --- a/gdb/demangle.c +++ b/gdb/demangle.c @@ -180,11 +180,7 @@ demangle_command (const char *args, int from_tty) else if (strncmp (arg_start, "--", p - arg_start) == 0) processing_args = 0; else - { - std::string option = extract_arg (&p); - error (_("Unrecognized option '%s' to demangle command. " - "Try \"help demangle\"."), option.c_str ()); - } + report_unrecognized_option_error ("demangle", arg_start); arg_start = skip_spaces (p); } |