* defs.h (enum val_prettyformat): Renamed from val_prettyprint.
[deliverable/binutils-gdb.git] / gdb / python / py-prettyprint.c
index 47e9826276fc5ac492ec0286537c31aa5d820435..28255823745c309cb9199e974fa0b310ad2d03b0 100644 (file)
@@ -511,16 +511,16 @@ print_children (PyObject *printer, const char *hint,
     }
   make_cleanup_py_decref (iter);
 
-  /* Use the prettyprint_arrays option if we are printing an array,
+  /* Use the prettyformat_arrays option if we are printing an array,
      and the pretty option otherwise.  */
   if (is_array)
-    pretty = options->prettyprint_arrays;
+    pretty = options->prettyformat_arrays;
   else
     {
-      if (options->pretty == Val_prettyprint)
+      if (options->prettyformat == Val_prettyformat)
        pretty = 1;
       else
-       pretty = options->prettyprint_structs;
+       pretty = options->prettyformat_structs;
     }
 
   /* Manufacture a dummy Python frame to work around Python 2.4 bug,
This page took 0.02342 seconds and 4 git commands to generate.