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 | |
parent | 51ec95448129c5ccd6cbbb554d6b67e73a22efae (diff) | |
download | fsf-binutils-gdb-a9e6a4bb4e112347cca6fa42dbc95a22aa76b798.zip fsf-binutils-gdb-a9e6a4bb4e112347cca6fa42dbc95a22aa76b798.tar.gz fsf-binutils-gdb-a9e6a4bb4e112347cca6fa42dbc95a22aa76b798.tar.bz2 |
gdb/
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error.
Update the comment.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6ff84a..d82b4cc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> PR symtab/8399: 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 |