Introduce metadata style
[deliverable/binutils-gdb.git] / gdb / value.c
index d58a964649be80bc2ff079d4bf2bf68fda289e04..67fe2f17c051a95a0cab640446a011fabba6c540 100644 (file)
@@ -43,6 +43,7 @@
 #include "completer.h"
 #include "gdbsupport/selftest.h"
 #include "gdbsupport/array-view.h"
+#include "cli/cli-style.h"
 
 /* Definition of a user function.  */
 struct internal_function
@@ -2539,7 +2540,8 @@ show_convenience (const char *ignore, int from_tty)
        }
       catch (const gdb_exception_error &ex)
        {
-         fprintf_filtered (gdb_stdout, _("<error: %s>"), ex.what ());
+         fprintf_styled (gdb_stdout, metadata_style.style (),
+                         _("<error: %s>"), ex.what ());
        }
 
       printf_filtered (("\n"));
This page took 0.025304 seconds and 4 git commands to generate.