This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] expand_symtab_containing_pc: Renamed from find_pc_sect_symtab_via_partial
- From: Doug Evans <xdje42 at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Sat, 15 Nov 2014 08:20:33 -0800
- Subject: Re: [PATCH] expand_symtab_containing_pc: Renamed from find_pc_sect_symtab_via_partial
- Authentication-results: sourceware.org; auth=none
- References: <m3vbmo0zar dot fsf at sspiff dot org>
On Sun, Nov 9, 2014 at 2:44 PM, Doug Evans <xdje42@gmail.com> wrote:
> Hi.
>
> 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.
>
> 2014-11-09 Doug Evans <xdje42@gmail.com>
>
> * symtab.c (expand_symtab_containing_pc): Renamed from
> find_pc_sect_symtab_via_partial. All callers updated.
Committed.