"Sandra" == Sandra Loosemore <sandra@codesourcery.com> writes:
Sandra> While looking at gdb.compile test failures on nios2, I found that it
Sandra> was passing an invalid option to gcc, due to another missing target
Sandra> method. This patch doesn't make the "compile" command work for me yet
Sandra> (see PRs 23671 and 23672 that I filed last night) but it seems like
Sandra> something that will be necessary to get there. OK to commit?
Sandra> -Sandra
Sandra> commit fce4579114f47246773caa9c68969a90794ff90d
Sandra> Author: Sandra Loosemore <sandra@codesourcery.com>
Sandra> Date: Sun Sep 16 14:35:43 2018 -0700
Sandra> Add gcc_target_options hook for nios2.
Sandra> 2018-09-16 Sandra Loosemore <sandra@codesourcery.com>
Sandra> gdb/
Sandra> * nios2-tdep.c (nios2_gcc_target_options): New.
Sandra> (nios2_gdb_arch_init): Install new hook.
Thank you. This is ok.
The default gcc_target_options seems overly specific to me.