mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +08:00
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.
This commit is contained in:
@ -1776,7 +1776,7 @@ backtrace_command_1 (char *count_exp, int show_locals, int no_filters,
|
||||
|
||||
QUIT;
|
||||
pc = get_frame_address_in_block (fi);
|
||||
find_pc_sect_symtab_via_partial (pc, find_pc_mapped_section (pc));
|
||||
expand_symtab_containing_pc (pc, find_pc_mapped_section (pc));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user