* cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack.
(cp_print_value): Likewise.
* p-valprint.c (pascal_object_print_value_fields): Likewise.
(pascal_object_print_value): Likewise.
+2006-12-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack.
+ (cp_print_value): Likewise.
+ * p-valprint.c (pascal_object_print_value_fields): Likewise.
+ (pascal_object_print_value): Likewise.
+
2006-12-05 Adam Nemet <anemet@caviumnetworks.com>
* target.c (debug_to_remove_watchpoint): Call
struct type **dont_print_vb,int dont_print_statmem)
{
int i, len, n_baseclasses;
- struct obstack tmp_obstack;
+ struct obstack tmp_obstack = { 0 };
char *last_dont_print = obstack_next_free (&dont_print_statmem_obstack);
int fields_seen = 0;
struct ui_file *stream, int format, int recurse,
enum val_prettyprint pretty, struct type **dont_print_vb)
{
- struct obstack tmp_obstack;
+ struct obstack tmp_obstack = { 0 };
struct type **last_dont_print
= (struct type **) obstack_next_free (&dont_print_vb_obstack);
int i, n_baseclasses = TYPE_N_BASECLASSES (type);
int dont_print_statmem)
{
int i, len, n_baseclasses;
- struct obstack tmp_obstack;
+ struct obstack tmp_obstack = { 0 };
char *last_dont_print = obstack_next_free (&dont_print_statmem_obstack);
CHECK_TYPEDEF (type);
enum val_prettyprint pretty,
struct type **dont_print_vb)
{
- struct obstack tmp_obstack;
+ struct obstack tmp_obstack = { 0 };
struct type **last_dont_print
= (struct type **) obstack_next_free (&dont_print_vb_obstack);
int i, n_baseclasses = TYPE_N_BASECLASSES (type);