From: Doug Evans Date: Mon, 10 Dec 2012 20:30:05 +0000 (+0000) Subject: * symtab.c (find_pc_sect_symtab): Add comment. X-Git-Tag: cgen-snapshot-20130101~158 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=072cabfebd64de234d2ca8bf100f75cf2d07024b;p=external%2Fbinutils.git * symtab.c (find_pc_sect_symtab): Add comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 05d093a..cbc3e7c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-12-10 Doug Evans + + * symtab.c (find_pc_sect_symtab): Add comment. + 2012-12-10 Tom Tromey * defs.h: Don't check for definition of LONGEST. diff --git a/gdb/symtab.c b/gdb/symtab.c index cf32a8c..1b0b35b 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2150,6 +2150,8 @@ find_pc_sect_symtab (CORE_ADDR pc, struct obj_section *section) if (best_s != NULL) return (best_s); + /* Not found in symtabs, search the "quick" symtabs (e.g. psymtabs). */ + ALL_OBJFILES (objfile) { struct symtab *result;