From 288e77a7ac3043d465464cd670646a90709f5e96 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 14 Mar 2013 16:36:27 +0000 Subject: 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. --- gdb/psymtab.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/psymtab.c') diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 2965e9f..7b118c5 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -183,6 +183,7 @@ partial_map_symtabs_matching_filename (struct objfile *objfile, if (partial_map_expand_apply (objfile, name, real_path, pst, callback, data)) return 1; + continue; } /* Before we invoke realpath, which can get expensive when many @@ -196,6 +197,7 @@ partial_map_symtabs_matching_filename (struct objfile *objfile, if (partial_map_expand_apply (objfile, name, real_path, pst, callback, data)) return 1; + continue; } /* If the user gave us an absolute path, try to find the file in @@ -209,6 +211,7 @@ partial_map_symtabs_matching_filename (struct objfile *objfile, if (partial_map_expand_apply (objfile, name, real_path, pst, callback, data)) return 1; + continue; } } } -- cgit v1.1