expand_symtab_containing_pc: Renamed from find_pc_sect_symtab_via_partial.
authorDoug Evans <xdje42@gmail.com>
Sat, 15 Nov 2014 16:05:22 +0000 (08:05 -0800)
committerDoug Evans <xdje42@gmail.com>
Sat, 15 Nov 2014 16:05:22 +0000 (08:05 -0800)
commit2097ae2584c1018a7a58d93d9edd7f6d1d9654c8
treea62aba16235697c2d9dbaa6734df643ac72545d3
parent1ada499f30b82fe7ab3636154ce0d39ebc06ec55
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.
gdb/ChangeLog
gdb/stack.c
gdb/symtab.c
gdb/symtab.h