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> +	  /* 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


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