diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-03-14 16:36:27 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-03-14 16:36:27 +0000 |
commit | 288e77a7ac3043d465464cd670646a90709f5e96 (patch) | |
tree | 4b776bfeea68bd656e181c0363f863c03d086f25 /gdb/dwarf2read.c | |
parent | 9e6f38113349b398fc4d08d90a1f137f8872b46c (diff) | |
download | gdb-288e77a7ac3043d465464cd670646a90709f5e96.zip gdb-288e77a7ac3043d465464cd670646a90709f5e96.tar.gz gdb-288e77a7ac3043d465464cd670646a90709f5e96.tar.bz2 |
gdb/
* dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after
any successful compare_filenames_for_search or FILENAME_CMP.
* psymtab.c (partial_map_symtabs_matching_filename): Likewise.
* symtab.c (iterate_over_some_symtabs): Likewise.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index faee1a8..47e4958 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -3079,6 +3079,7 @@ dw2_map_symtabs_matching_filename (struct objfile *objfile, const char *name, if (dw2_map_expand_apply (objfile, per_cu, name, real_path, callback, data)) return 1; + continue; } /* Before we invoke realpath, which can get expensive when many @@ -3093,6 +3094,7 @@ dw2_map_symtabs_matching_filename (struct objfile *objfile, const char *name, if (dw2_map_expand_apply (objfile, per_cu, name, real_path, callback, data)) return 1; + continue; } if (real_path != NULL) @@ -3105,6 +3107,7 @@ dw2_map_symtabs_matching_filename (struct objfile *objfile, const char *name, if (dw2_map_expand_apply (objfile, per_cu, name, real_path, callback, data)) return 1; + continue; } } } |