aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-12-10 20:30:05 +0000
committerDoug Evans <dje@google.com>2012-12-10 20:30:05 +0000
commit072cabfebd64de234d2ca8bf100f75cf2d07024b (patch)
tree5bb86c3b974ae7facd3a4676a72661492e4f3f48
parent61c125b91f0fa9944cc849e4b95cfdaaa53da27e (diff)
downloadgdb-072cabfebd64de234d2ca8bf100f75cf2d07024b.zip
gdb-072cabfebd64de234d2ca8bf100f75cf2d07024b.tar.gz
gdb-072cabfebd64de234d2ca8bf100f75cf2d07024b.tar.bz2
* symtab.c (find_pc_sect_symtab): Add comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 05d093a5..cbc3e7c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-10 Doug Evans <dje@google.com>
+
+ * symtab.c (find_pc_sect_symtab): Add comment.
+
2012-12-10 Tom Tromey <tromey@redhat.com>
* 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;