This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Split up buildsym.c:end_symtab_from_static_block
- From: Doug Evans <xdje42 at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 18 Nov 2014 09:08:07 -0800
- Subject: Re: [PATCH] Split up buildsym.c:end_symtab_from_static_block
- Authentication-results: sourceware.org; auth=none
- References: <m3oasf28ba dot fsf at sspiff dot org>
On Sun, Nov 9, 2014 at 4:44 PM, Doug Evans <xdje42@gmail.com> wrote:
> [...]
>
> 2014-11-09 Doug Evans <xdje42@gmail.com>
>
> * buildsym.c (main_subfile): New static global.
> (free_subfiles_list): New function.
> (start_symtab): Set main_subfile.
> (restart_symtab): Replace init of subfiles, current_subfile with
> call to free_subfiles_list.
> (watch_main_source_file_lossage): Use main_subfile.
> (reset_symtab_globals): Replace init of current_subfile with call
> to free_subfiles_list.
> (end_symtab_without_blockvector, end_symtab_with_blockvector): New
> functions, split out from ...
> (end_symtab_from_static_block): ... here. Rewrite to call them.
Committed.