This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/dwarf] Anonymous nested function causes SEGV during psymbol read
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 18 Feb 2010 20:05:39 -0700
- Subject: Re: [RFA/dwarf] Anonymous nested function causes SEGV during psymbol read
- References: <1266519724-4175-1-git-send-email-brobecker@adacore.com>
- Reply-to: tromey at redhat dot com
>>>>> "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