diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-15 08:05:22 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-15 08:05:22 -0800 |
commit | 2097ae2584c1018a7a58d93d9edd7f6d1d9654c8 (patch) | |
tree | a62aba16235697c2d9dbaa6734df643ac72545d3 /gdb/symtab.h | |
parent | 1ada499f30b82fe7ab3636154ce0d39ebc06ec55 (diff) | |
download | gdb-2097ae2584c1018a7a58d93d9edd7f6d1d9654c8.zip gdb-2097ae2584c1018a7a58d93d9edd7f6d1d9654c8.tar.gz gdb-2097ae2584c1018a7a58d93d9edd7f6d1d9654c8.tar.bz2 |
expand_symtab_containing_pc: Renamed from find_pc_sect_symtab_via_partial.
This patch just renames one function.
Its only caller is in stack.c where we're printing a backtrace
with non-zero info_verbose and we want to make sure all the needed
symtabs are expanded before printing the backtrace
so that debug symbol reading messages don't pollute the backtrace.
I think the new name of the function makes clearer to the reader
what is going on.
gdb/ChangeLog:
* symtab.c (expand_symtab_containing_pc): Renamed from
find_pc_sect_symtab_via_partial. All callers updated.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index d78b832..d69fbcf 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1163,10 +1163,9 @@ extern int find_pc_partial_function (CORE_ADDR, const char **, CORE_ADDR *, extern void clear_pc_function_cache (void); -/* lookup partial symbol table by address and section. */ +/* Expand symtab containing PC, SECTION if not already expanded. */ -extern struct symtab *find_pc_sect_symtab_via_partial (CORE_ADDR, - struct obj_section *); +extern void expand_symtab_containing_pc (CORE_ADDR, struct obj_section *); /* lookup full symbol table by address. */ |