[patch] Fix crash on reading gcc HEAD Fortran module

Daniel Jacobowitz drow@false.org
Mon Sep 1 15:30:00 GMT 2008


On Mon, Sep 01, 2008 at 03:02:12PM +0200, Jan Kratochvil wrote:
> 2008-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Stay compatible after the GCC PR fortran/29635 fix.
> 	* dwarf2read.c (process_die <DW_TAG_imported_module>): Accept (ignored)
> 	child DIEs.  Only COMPLAINT for non-Fortran languages.

This patch is mostly OK; please complain about children in
DW_TAG_imported_declaration even in Fortran (see the comment above
your change).

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list