[gdb] Fix more typos in comments (2)
[deliverable/binutils-gdb.git] / gdb / f-valprint.c
index 37b0ed5176de88f3d9817705d8051acc2795035b..f9d49233fcaeb51a96a4b1ba7202282c9dc9fefa 100644 (file)
@@ -33,6 +33,7 @@
 #include "command.h"
 #include "block.h"
 #include "dictionary.h"
+#include "cli/cli-style.h"
 
 static void f77_get_dynamic_length_of_aggregate (struct type *);
 
@@ -199,7 +200,7 @@ static const struct generic_val_print_decorations f_decorations =
   ")",
   ".TRUE.",
   ".FALSE.",
-  "VOID",
+  "void",
   "{",
   "}"
 };
@@ -415,8 +416,9 @@ info_common_command_for_block (const struct block *block, const char *comname,
 
            catch (const gdb_exception_error &except)
              {
-               printf_filtered ("<error reading variable: %s>",
-                                except.what ());
+               fprintf_styled (gdb_stdout, metadata_style.style (),
+                               "<error reading variable: %s>",
+                               except.what ());
              }
 
            putchar_filtered ('\n');
This page took 0.036631 seconds and 4 git commands to generate.