[RFA/dwarf] Anonymous nested function causes SEGV during psymbol read
Joel Brobecker
brobecker@adacore.com
Fri Feb 19 15:19:00 GMT 2010
> 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.
Not a problem - I will take care of that (I think we should complain in
all cases, so that'll be two sites that need to be complaning). I'm answering
now without a new patch because I won't have time to look into thin until
early march, but I will.
--
Joel
More information about the Gdb-patches
mailing list