From: Doug Evans Date: Mon, 10 Dec 2012 20:30:05 +0000 (+0000) Subject: * symtab.c (find_pc_sect_symtab): Add comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=072cabfebd64de234d2ca8bf100f75cf2d07024b;p=binutils-gdb.git * symtab.c (find_pc_sect_symtab): Add comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 05d093a5719..cbc3e7cbfdd 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 cf32a8c50dc..1b0b35bcd7c 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;