Introduce metadata style
[deliverable/binutils-gdb.git] / gdb / m2-typeprint.c
index dae07d1c531a02c6eac4cb9b56cc9ad7e793aae7..3c1a8d2aed392ca5bf06a5e8bf2afc1bd80513f1 100644 (file)
@@ -31,6 +31,7 @@
 #include "c-lang.h"
 #include "typeprint.h"
 #include "cp-abi.h"
+#include "cli/cli-style.h"
 
 static void m2_print_bounds (struct type *type,
                             struct ui_file *stream, int show, int level,
@@ -81,7 +82,7 @@ m2_print_type (struct type *type, const char *varstring,
   wrap_here ("    ");
   if (type == NULL)
     {
-      fputs_filtered (_("<type unknown>"), stream);
+      fputs_styled (_("<type unknown>"), metadata_style.style (), stream);
       return;
     }
 
This page took 0.025631 seconds and 4 git commands to generate.