This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] symtab.c (find_pc_sect_symtab): Add comment.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 10 Dec 2012 12:30:39 -0800
- Subject: [commit] symtab.c (find_pc_sect_symtab): Add comment.
Hi.
fyi, I've committed this.
2012-12-10 Doug Evans <dje@google.com>
* symtab.c (find_pc_sect_symtab): Add comment.
Index: symtab.c
===================================================================
RCS file: /cvs/src/src/gdb/symtab.c,v
retrieving revision 1.326
diff -u -p -r1.326 symtab.c
--- symtab.c 7 Dec 2012 20:09:08 -0000 1.326
+++ symtab.c 10 Dec 2012 20:22:17 -0000
@@ -2150,6 +2150,8 @@ find_pc_sect_symtab (CORE_ADDR pc, struc
if (best_s != NULL)
return (best_s);
+ /* Not found in symtabs, search the "quick" symtabs (e.g. psymtabs). */
+
ALL_OBJFILES (objfile)
{
struct symtab *result;