* defs.h (enum val_prettyformat): Renamed from val_prettyprint.
[deliverable/binutils-gdb.git] / gdb / m2-valprint.c
index b5cfaed27783621732e7d13dbabcbb355957358e..f8a8f7584b388e406ccc25a386837a5fd009f4b8 100644 (file)
@@ -272,7 +272,7 @@ m2_print_array_contents (struct type *type, const gdb_byte *valaddr,
 
   if (TYPE_LENGTH (type) > 0)
     {
-      if (options->prettyprint_arrays)
+      if (options->prettyformat_arrays)
        print_spaces_filtered (2 + 2 * recurse, stream);
       /* For an array of chars, print with string syntax.  */
       if (TYPE_LENGTH (type) == 1 &&
@@ -327,7 +327,7 @@ m2_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset,
        {
          elttype = check_typedef (TYPE_TARGET_TYPE (type));
          len = TYPE_LENGTH (type) / TYPE_LENGTH (elttype);
-         if (options->prettyprint_arrays)
+         if (options->prettyformat_arrays)
            print_spaces_filtered (2 + 2 * recurse, stream);
          /* For an array of chars, print with string syntax.  */
          if (TYPE_LENGTH (elttype) == 1 &&
This page took 0.024378 seconds and 4 git commands to generate.