aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-12-08 18:04:08 +0000
committerDoug Evans <dje@google.com>2010-12-08 18:04:08 +0000
commitd4637a04714af3e034b0b3b680980832e9764300 (patch)
tree79c4577f419c29864d3bf3b10fbc03e914846e1d /gdb/symfile.h
parent1ef75ecca6ee904e9c312f9941515326c5ef7649 (diff)
downloadgdb-d4637a04714af3e034b0b3b680980832e9764300.zip
gdb-d4637a04714af3e034b0b3b680980832e9764300.tar.gz
gdb-d4637a04714af3e034b0b3b680980832e9764300.tar.bz2
* symfile.h (quick_symbol_functions): Clarify usage of
expand_symtabs_with_filename. * dwarf2read.c (dw2_expand_symtabs_with_filename): Only iterate over comp units, ignore type units.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index e989d5c..297c181 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -209,7 +209,10 @@ struct quick_symbol_functions
void (*expand_all_symtabs) (struct objfile *objfile);
/* Read all symbol tables associated with OBJFILE which have the
- file name FILENAME. */
+ file name FILENAME.
+ This is for the purposes of examining code only, e.g., expand_line_sal.
+ The routine may ignore debug info that is known to not be useful with
+ code, e.g., DW_TAG_type_unit for dwarf debug info. */
void (*expand_symtabs_with_filename) (struct objfile *objfile,
const char *filename);