This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] add missing gcc_target_options method for nios2
- From: Tom Tromey <tom at tromey dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: "gdb-patches\@sourceware.org" <gdb-patches at sourceware dot org>, <qiyao at sourceware dot org>
- Date: Tue, 18 Sep 2018 13:15:44 -0600
- Subject: Re: [patch] add missing gcc_target_options method for nios2
- References: <a653fe61-50ea-920d-bab4-95b77c6d4b1b@codesourcery.com>
>>>>> "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.
Tom