This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Split up buildsym.c:end_symtab_from_static_block


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]