gdb/testsuite/tui: Always dump_screen when asked
[deliverable/binutils-gdb.git] / gdb / break-catch-sig.c
index 14f901f07c257c9982f1e3d654e57dd5abacae07..a9ec583414003fe412ca4f3e06fcceff17335d33 100644 (file)
@@ -1,6 +1,6 @@
 /* Everything about signal catchpoints, for GDB.
 
-   Copyright (C) 2011-2019 Free Software Foundation, Inc.
+   Copyright (C) 2011-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Standard C includes.  */
-#include <ctype.h>
-
-/* Standard C++ includes.  */
-#include <string>
-
-/* Local non-gdb includes.  */
-#include "annotate.h"
 #include "arch-utils.h"
+#include <ctype.h>
 #include "breakpoint.h"
-#include "cli/cli-utils.h"
-#include "completer.h"
 #include "gdbcmd.h"
 #include "inferior.h"
 #include "infrun.h"
+#include "annotate.h"
 #include "valprint.h"
+#include "cli/cli-utils.h"
+#include "completer.h"
+#include "cli/cli-style.h"
+
+#include <string>
 
 #define INTERNAL_SIGNAL(x) ((x) == GDB_SIGNAL_TRAP || (x) == GDB_SIGNAL_INT)
 
@@ -246,7 +242,8 @@ signal_catchpoint_print_one (struct breakpoint *b,
     }
   else
     uiout->field_string ("what",
-                        c->catch_all ? "<any signal>" : "<standard signals>");
+                        c->catch_all ? "<any signal>" : "<standard signals>",
+                        metadata_style.style ());
   uiout->text ("\" ");
 
   if (uiout->is_mi_like_p ())
This page took 0.026497 seconds and 4 git commands to generate.