This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa/dwarf/doc] Inter-compilation-unit reference support for partial DIEs


Does this hunk have anything to do with the rest of this patch?  I
don't think it does, but I don't know if I missed something.

@@ -2018,6 +2228,7 @@ psymtab_to_symtab_1 (struct partial_symt
   /* We're in the global namespace.  */
   processing_current_prefix = "";
 
+  memset (&cu, 0, sizeof (cu));
   obstack_init (&cu.comp_unit_obstack);
   back_to = make_cleanup (free_stack_comp_unit, &cu);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]