Re: [RFA 28/42] Set list_in_scope later in DWARF reader

Keith Seitz
2018-07-06T18:11:42Z

On 05/22/2018 09:58 PM, Tom Tromey wrote:
> diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
> index 3cc15ab645..f7cca01445 100644
> --- a/gdb/dwarf2read.c
> +++ b/gdb/dwarf2read.c
> @@ -21138,6 +21134,8 @@ dwarf2_start_symtab (struct dwarf2_cu *cu,
> = start_symtab (cu->per_cu->dwarf2_per_objfile->objfile, name, comp_dir,
> low_pc, cu->language);
>
> + cu->list_in_scope = get_file_symbols ();
> +
> record_debugformat ("DWARF 2");
> record_producer (cu->producer);
>
>

Warning: `get_file_symbols' is undefined until the next patch.

Keith