aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-valprint.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-12-05 23:57:53 +0000
committerDaniel Jacobowitz <drow@false.org>2006-12-05 23:57:53 +0000
commit4ad08d87e8b16bfc798d154c27bedc304d16176f (patch)
treeddae910091ad80991f87e595ceddf6f18bd0de40 /gdb/p-valprint.c
parent2bb5b437d4528d9b4c5fd5925d7e576d68c8e9d5 (diff)
downloadgdb-4ad08d87e8b16bfc798d154c27bedc304d16176f.zip
gdb-4ad08d87e8b16bfc798d154c27bedc304d16176f.tar.gz
gdb-4ad08d87e8b16bfc798d154c27bedc304d16176f.tar.bz2
* cp-valprint.c, p-valprint.c: Revert last change.
Diffstat (limited to 'gdb/p-valprint.c')
-rw-r--r--gdb/p-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index 0049233..33b7974 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -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);