X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fbreak-catch-sig.c;h=c475e8aca57244b347bb0932f8f08cc672fb24a1;hb=4cbda994e6c589b18c88227bf5a2fef089a18cfd;hp=5ab7cd36069f6ce87d8bcc563e74230f39735d43;hpb=bd5225139c83a80aad542e46efb66fabf51bff91;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c index 5ab7cd3606..c475e8aca5 100644 --- a/gdb/break-catch-sig.c +++ b/gdb/break-catch-sig.c @@ -1,6 +1,6 @@ /* Everything about signal catchpoints, for GDB. - Copyright (C) 2011-2017 Free Software Foundation, Inc. + Copyright (C) 2011-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -28,6 +28,7 @@ #include "valprint.h" #include "cli/cli-utils.h" #include "completer.h" +#include "cli/cli-style.h" #include @@ -241,7 +242,8 @@ signal_catchpoint_print_one (struct breakpoint *b, } else uiout->field_string ("what", - c->catch_all ? "" : ""); + c->catch_all ? "" : "", + metadata_style.style ()); uiout->text ("\" "); if (uiout->is_mi_like_p ()) @@ -332,7 +334,7 @@ create_signal_catchpoint (int tempflag, std::vector &&filter, list, which is empty if no filtering is required. */ static std::vector -catch_signal_split_args (char *arg, bool *catch_all) +catch_signal_split_args (const char *arg, bool *catch_all) { std::vector result; bool first = true; @@ -381,7 +383,7 @@ catch_signal_split_args (char *arg, bool *catch_all) /* Implement the "catch signal" command. */ static void -catch_signal_command (char *arg, int from_tty, +catch_signal_command (const char *arg, int from_tty, struct cmd_list_element *command) { int tempflag;