This is the mail archive of the gdb-patches@sourceware.org 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] Anonymous nested function causes SEGV during psymbol read


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> +	  /* Ignore subprograms that do not have a name.  Such entries
Joel> +	     are incorrect, according to the DWARF standard, and we need
Joel> +	     a function name to create the associated partial symbol.  */
Joel> +	  if (!pdi->is_declaration && pdi->name)
Joel>              add_partial_symbol (pdi, cu);

I think it is worthwhile to call complaint for invalid DWARF.

Tom


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