From 072cabfebd64de234d2ca8bf100f75cf2d07024b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 10 Dec 2012 20:30:05 +0000 Subject: [PATCH] * symtab.c (find_pc_sect_symtab): Add comment. --- gdb/ChangeLog | 4 ++++ gdb/symtab.c | 2 ++ 2 files changed, 6 insertions(+) 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; -- 2.30.2