gdb/
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error. Update the comment.
This commit is contained in:
parent
51ec954481
commit
a9e6a4bb4e
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-09-14 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error.
|
||||||
|
Update the comment.
|
||||||
|
|
||||||
2010-09-14 Tom Tromey <tromey@redhat.com>
|
2010-09-14 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
PR symtab/8399:
|
PR symtab/8399:
|
||||||
|
|
|
@ -2369,10 +2369,9 @@ dw2_map_ada_symtabs (struct objfile *objfile,
|
||||||
domain_enum namespace, int wild,
|
domain_enum namespace, int wild,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
/* For now, we don't support Ada, so this function can't be
|
/* For now, we don't support Ada. Still the function can be called if the
|
||||||
reached. */
|
current language is Ada for a non-Ada objfile using GNU index. As Ada
|
||||||
internal_error (__FILE__, __LINE__,
|
does not look for non-Ada symbols this function should just return. */
|
||||||
_("map_ada_symtabs called via index method"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue