Re: [PATCH 00/14] Share DWARF partial symtabs between objfiles

Tom de Vries
2020-02-24T16:00:11Z

On 24-02-2020 14:42, Tom de Vries wrote:
> On 24-02-2020 04:22, Tom Tromey wrote:
>> Tom> Take a look at my branch, t/reorganize-dwarf-code-sharing-3.
>
> FWIW, I tried to build this earlier today and ran into a build error. [
> Sorry, don't have the specifics available right now, my laptop is tied
> up building a series of commits. ]
>

Here it is:
...
src/gdb/dwarf2/read.c:10967:41: error: macro "XOBNEWVEC" requires 3
arguments, but only 2 given
line_header->file_names_size ());
^
src/gdb/dwarf2/read.c: In member function 'void
dwarf2_cu::setup_type_unit_groups(die_info*)':
/data/gdb_versions/devel/src/gdb/dwarf2/read.c:10966:17: error: 'struct
type_unit_group' has no member named 'symtabs'
tu_group->symtabs = XOBNEWVEC (struct symtab *,
^~~~~~~
src/gdb/dwarf2/read.c:10966:27: error: 'XOBNEWVEC' was not declared in
this scope
tu_group->symtabs = XOBNEWVEC (struct symtab *,
^~~~~~~~~
make[1]: *** [Makefile:1600: dwarf2/read.o] Error 1
...

Thanks,
- Tom