* cp-valprint.c, p-valprint.c: Revert last change.

This commit is contained in:
Daniel Jacobowitz
2006-12-05 23:57:53 +00:00
parent 2bb5b437d4
commit 4ad08d87e8
3 changed files with 8 additions and 4 deletions

View 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);