[AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo
[deliverable/binutils-gdb.git] / gdb / f-typeprint.c
index f38a3a0af495fe2e9757b42f821708bdac73f225..920c21fbcf03fc4c61571ba653499b7e96769f3d 100644 (file)
@@ -308,12 +308,12 @@ f_type_print_base (struct type *type, struct ui_file *stream, int show,
 
     case TYPE_CODE_PTR:
       fprintf_filtered (stream, "PTR TO -> ( ");
-      f_type_print_base (TYPE_TARGET_TYPE (type), stream, 0, level);
+      f_type_print_base (TYPE_TARGET_TYPE (type), stream, show, level);
       break;
 
     case TYPE_CODE_REF:
       fprintf_filtered (stream, "REF TO -> ( ");
-      f_type_print_base (TYPE_TARGET_TYPE (type), stream, 0, level);
+      f_type_print_base (TYPE_TARGET_TYPE (type), stream, show, level);
       break;
 
     case TYPE_CODE_VOID:
@@ -371,12 +371,12 @@ f_type_print_base (struct type *type, struct ui_file *stream, int show,
          fputs_filtered ("\n", stream);
          for (index = 0; index < TYPE_NFIELDS (type); index++)
            {
-             f_type_print_base (TYPE_FIELD_TYPE (type, index), stream, show,
-                                level + 4);
+             f_type_print_base (TYPE_FIELD_TYPE (type, index), stream,
+                                show - 1, level + 4);
              fputs_filtered (" :: ", stream);
              fputs_filtered (TYPE_FIELD_NAME (type, index), stream);
              f_type_print_varspec_suffix (TYPE_FIELD_TYPE (type, index),
-                                          stream, 0, 0, 0, 0);
+                                          stream, show - 1, 0, 0, 0);
              fputs_filtered ("\n", stream);
            }
          fprintfi_filtered (level, stream, "End Type ");
This page took 0.024071 seconds and 4 git commands to generate.