diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 10ffe85a2f..e4d1930b40 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2008-09-01 Jan Kratochvil + + Stay compatible after the GCC PR fortran/29635 fix. + * dwarf2read.c (process_die ) + (process_die ): Do not assert anything about + these unsupported tags. + 2008-08-29 Tom Tromey * maint.c (_initialize_maint_cmds): Fix typo. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 95a85b1ad5..1b68e2a6a4 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2760,10 +2760,10 @@ process_die (struct die_info *die, struct dwarf2_cu *cu) information contained in these. DW_TAG_imported_declaration dies shouldn't have children; DW_TAG_imported_module dies shouldn't in the C++ case, but conceivably could in the - Fortran case, so we'll have to replace this gdb_assert if - Fortran compilers start generating that info. */ + Fortran case. */ processing_has_namespace_info = 1; - gdb_assert (die->child == NULL); + complaint (&symfile_complaints, _("unsupported tag: '%s'"), + dwarf_tag_name (die->tag)); break; default: new_symbol (die, NULL, cu);