* cp-valprint.c, p-valprint.c: Revert last change.
authorDaniel Jacobowitz <drow@false.org>
Tue, 5 Dec 2006 23:57:53 +0000 (23:57 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 5 Dec 2006 23:57:53 +0000 (23:57 +0000)
gdb/ChangeLog
gdb/cp-valprint.c
gdb/p-valprint.c

index a7c90e6..131611b 100644 (file)
@@ -1,5 +1,9 @@
 2006-12-05  Daniel Jacobowitz  <dan@codesourcery.com>
 
+       * cp-valprint.c, p-valprint.c: Revert last change.
+
+2006-12-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
        * NEWS: Mention MIPS remote autodetection, mips64 gdbserver,
        "set mem inaccessible-by-default", and "set breakpoint auto-hw".
 
index 2c086b1..84b66fe 100644 (file)
@@ -265,7 +265,7 @@ cp_print_value_fields (struct type *type, struct type *real_type,
                       struct type **dont_print_vb,int dont_print_statmem)
 {
   int i, len, n_baseclasses;
-  struct obstack tmp_obstack = { 0 };
+  struct obstack tmp_obstack;
   char *last_dont_print = obstack_next_free (&dont_print_statmem_obstack);
   int fields_seen = 0;
 
@@ -524,7 +524,7 @@ cp_print_value (struct type *type, struct type *real_type,
                struct ui_file *stream, int format, int recurse,
                enum val_prettyprint pretty, struct type **dont_print_vb)
 {
-  struct obstack tmp_obstack = { 0 };
+  struct obstack tmp_obstack;
   struct type **last_dont_print
     = (struct type **) obstack_next_free (&dont_print_vb_obstack);
   int i, n_baseclasses = TYPE_N_BASECLASSES (type);
index 0049233..33b7974 100644 (file)
@@ -753,7 +753,7 @@ pascal_object_print_value_fields (struct type *type, const gdb_byte *valaddr,
                                  int dont_print_statmem)
 {
   int i, len, n_baseclasses;
-  struct obstack tmp_obstack = { 0 };
+  struct obstack tmp_obstack;
   char *last_dont_print = obstack_next_free (&dont_print_statmem_obstack);
 
   CHECK_TYPEDEF (type);
@@ -922,7 +922,7 @@ pascal_object_print_value (struct type *type, const gdb_byte *valaddr,
                           enum val_prettyprint pretty,
                           struct type **dont_print_vb)
 {
-  struct obstack tmp_obstack = { 0 };
+  struct obstack tmp_obstack;
   struct type **last_dont_print
   = (struct type **) obstack_next_free (&dont_print_vb_obstack);
   int i, n_baseclasses = TYPE_N_BASECLASSES (type);