diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-14 21:28:53 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-14 21:28:53 +0000 |
commit | a9e6a4bb4e112347cca6fa42dbc95a22aa76b798 (patch) | |
tree | 63ddb4979c9f63c216318fa40c1fe75d23e395a9 /gdb/dwarf2read.c | |
parent | 51ec95448129c5ccd6cbbb554d6b67e73a22efae (diff) | |
download | gdb-a9e6a4bb4e112347cca6fa42dbc95a22aa76b798.zip gdb-a9e6a4bb4e112347cca6fa42dbc95a22aa76b798.tar.gz gdb-a9e6a4bb4e112347cca6fa42dbc95a22aa76b798.tar.bz2 |
gdb/
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error.
Update the comment.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index d7691cb..470a3f5 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 |