[PATCH v3 3/5] Code cleanup: dwarf2_initialize_objfile return value
Mon Dec 11 13:20:00 GMT 2017
On 12/11/2017 01:03 PM, Yao Qi wrote:
> This breaks the arm-wince-pe build,
> dwarf2read.o: In function `dwarf2_initialize_objfile(objfile*)':
> undefined reference to `elf_sym_fns_gdb_index'
> undefined reference to `elf_sym_fns_debug_names'
> undefined reference to `elf_sym_fns_lazy_psyms'
> collect2: error: ld returned 1 exit status
> Makefile:1920: recipe for target 'gdb' failed
Eh, looks like the bridge was closer than I realized... I forgot
the non-elf ports don't include elfread.c in the build. So we
really need to do something else here. Maybe an enum instead of
the original boolean.
More information about the Gdb-patches