Remove "fix" call for "long long" from ARI
[deliverable/binutils-gdb.git] / gdb / m2-valprint.c
index b011d65aed55012a6def9767dea7e8ed909f2656..4dc0fe18e6a785864467e3aaae7ac5746cb163f5 100644 (file)
@@ -28,6 +28,7 @@
 #include "c-lang.h"
 #include "m2-lang.h"
 #include "target.h"
+#include "cli/cli-style.h"
 
 static int print_unpacked_pointer (struct type *type,
                                   CORE_ADDR address, CORE_ADDR addr,
@@ -92,7 +93,8 @@ m2_print_long_set (struct type *type, const gdb_byte *valaddr,
     }
   else
     {
-      fprintf_filtered (stream, " %s }", _("<unknown bounds of set>"));
+      fprintf_styled (stream, metadata_style.style (),
+                     " %s }", _("<unknown bounds of set>"));
       return;
     }
 
@@ -407,8 +409,8 @@ m2_val_print (struct type *type, int embedded_offset,
       elttype = check_typedef (elttype);
       if (TYPE_STUB (elttype))
        {
-         fprintf_filtered (stream, _("<incomplete type>"));
-         gdb_flush (stream);
+         fprintf_styled (stream, metadata_style.style (),
+                         _("<incomplete type>"));
          break;
        }
       else
@@ -424,7 +426,8 @@ m2_val_print (struct type *type, int embedded_offset,
        maybe_bad_bstring:
          if (i < 0)
            {
-             fputs_filtered (_("<error value>"), stream);
+             fputs_styled (_("<error value>"), metadata_style.style (),
+                           stream);
              goto done;
            }
 
@@ -499,5 +502,4 @@ m2_val_print (struct type *type, int embedded_offset,
                         &m2_decorations);
       break;
     }
-  gdb_flush (stream);
 }
This page took 0.032874 seconds and 4 git commands to generate.