]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/p-typeprint.c
Always call the wrap_here method
[thirdparty/binutils-gdb.git] / gdb / p-typeprint.c
index a105d297bc40b8cc3a30a165e680bb8ac4c98035..18c9ab9facb095353695810f4c0141949a13fdd0 100644 (file)
@@ -287,7 +287,7 @@ pascal_language::print_func_args (struct type *type, struct ui_file *stream,
       if (i > 0)
        {
          fputs_filtered (", ", stream);
-         wrap_here (4);
+         stream->wrap_here (4);
        }
       /*  Can we find if it is a var parameter ??
          if ( TYPE_FIELD(type, i) == )
@@ -419,7 +419,7 @@ pascal_language::type_print_base (struct type *type, struct ui_file *stream, int
   section_type;
 
   QUIT;
-  wrap_here (4);
+  stream->wrap_here (4);
   if (type == NULL)
     {
       fputs_styled ("<type unknown>", metadata_style.style (), stream);
@@ -487,7 +487,7 @@ pascal_language::type_print_base (struct type *type, struct ui_file *stream, int
       fprintf_filtered (stream, "case <?> of ");
 
     struct_union:
-      wrap_here (4);
+      stream->wrap_here (4);
       if (show < 0)
        {
          /* If we just printed a tag name, no need to print anything else.  */
@@ -692,7 +692,7 @@ pascal_language::type_print_base (struct type *type, struct ui_file *stream, int
       /* enum is just defined by
         type enume_name = (enum_member1,enum_member2,...)  */
       fprintf_filtered (stream, " = ");
-      wrap_here (4);
+      stream->wrap_here (4);
       if (show < 0)
        {
          /* If we just printed a tag name, no need to print anything else.  */
@@ -709,7 +709,7 @@ pascal_language::type_print_base (struct type *type, struct ui_file *stream, int
              QUIT;
              if (i)
                fprintf_filtered (stream, ", ");
-             wrap_here (4);
+             stream->wrap_here (4);
              fputs_filtered (type->field (i).name (), stream);
              if (lastval != type->field (i).loc_enumval ())
                {