From: Jan Kratochvil Date: Tue, 14 Sep 2010 21:28:53 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9e6a4bb4e112347cca6fa42dbc95a22aa76b798;p=binutils-gdb.git gdb/ * dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error. Update the comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6ff84a96d0..d82b4cce673 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-09-14 Jan Kratochvil + + * dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error. + Update the comment. + 2010-09-14 Tom Tromey PR symtab/8399: diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index d7691cb5cab..470a3f51d10 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2369,10 +2369,9 @@ dw2_map_ada_symtabs (struct objfile *objfile, domain_enum namespace, int wild, void *data) { - /* For now, we don't support Ada, so this function can't be - reached. */ - internal_error (__FILE__, __LINE__, - _("map_ada_symtabs called via index method")); + /* For now, we don't support Ada. Still the function can be called if the + current language is Ada for a non-Ada objfile using GNU index. As Ada + does not look for non-Ada symbols this function should just return. */ } static void