From: Doug Evans Date: Wed, 23 Nov 2011 19:55:42 +0000 (+0000) Subject: * dwarf2read.c (dw2_lookup_symtab): Add comment. X-Git-Tag: gdb_7_4-2011-12-13-branchpoint~183 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d7bb9d9ca1d9ae0dcae6c810ac31314f23a3285;p=platform%2Fupstream%2Fbinutils.git * dwarf2read.c (dw2_lookup_symtab): Add comment. (dw2_expand_symtabs_with_filename): Ditto. (dw2_expand_symtabs_matching): Ditto. (dw2_map_symbol_filenames): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0585e1e..0397899 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2011-11-23 Doug Evans + + * dwarf2read.c (dw2_lookup_symtab): Add comment. + (dw2_expand_symtabs_with_filename): Ditto. + (dw2_expand_symtabs_matching): Ditto. + (dw2_map_symbol_filenames): Ditto. + 2011-11-23 Andrey Smirnov * ada-lang.c (assign_aggregate): Minor reformatting. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 5e279de..3f66c67 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2458,6 +2458,7 @@ dw2_lookup_symtab (struct objfile *objfile, const char *name, struct dwarf2_per_cu_data *per_cu = dw2_get_cu (i); struct quick_file_names *file_data; + /* We only need to look at symtabs not already expanded. */ if (per_cu->v.quick->symtab) continue; @@ -2640,6 +2641,7 @@ dw2_expand_symtabs_with_filename (struct objfile *objfile, struct dwarf2_per_cu_data *per_cu = dw2_get_cu (i); struct quick_file_names *file_data; + /* We only need to look at symtabs not already expanded. */ if (per_cu->v.quick->symtab) continue; @@ -2744,6 +2746,8 @@ dw2_expand_symtabs_matching (struct objfile *objfile, struct quick_file_names *file_data; per_cu->v.quick->mark = 0; + + /* We only need to look at symtabs not already expanded. */ if (per_cu->v.quick->symtab) continue; @@ -2831,6 +2835,7 @@ dw2_map_symbol_filenames (struct objfile *objfile, symbol_filename_ftype *fun, struct dwarf2_per_cu_data *per_cu = dw2_get_cu (i); struct quick_file_names *file_data; + /* We only need to look at symtabs not already expanded. */ if (per_cu->v.quick->symtab) continue;