From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20002 invoked by alias); 9 Aug 2011 15:16:12 -0000 Received: (qmail 19994 invoked by uid 22791); 9 Aug 2011 15:16:11 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Aug 2011 15:15:58 +0000 Received: (qmail 10320 invoked from network); 9 Aug 2011 15:15:56 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 9 Aug 2011 15:15:56 -0000 Message-ID: <4E414F30.6050508@codesourcery.com> Date: Tue, 09 Aug 2011 15:16:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: Pedro Alves CC: gdb-patches@sourceware.org Subject: Re: [RFA 5/8] New port: TI C6x: gdb port References: <4E2638A6.1070406@codesourcery.com> <201108081403.37241.pedro@codesourcery.com> <4E40A0DD.1000503@codesourcery.com> <201108091501.31358.pedro@codesourcery.com> In-Reply-To: <201108091501.31358.pedro@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00183.txt.bz2 On 08/09/2011 10:01 PM, Pedro Alves wrote: > On Tuesday 09 August 2011 03:52:13, Yao Qi wrote: >> Yes, we have target descriptions for tic6x-uclinux, but don't have for >> tic6x-elf so far. So the target description is initialized in >> tic6x-linux-tdep.c:_initialize_tic6x_linux_tdep. >> >> I think the target description initialization should be moved to >> tic6x-tdep.c:_initialize_tic6x_tdep, so tic6x-uclinux and tic6x-elf >> share the target descriptions. In my new patch, target description >> initialization is moved to tic6x-tdep.c:_initialize_tic6x_tdep, and >> suffix "-linux" in feature names and files is removed (target >> description is revised accordingly). > > You can't do that given the descriptions specify GNU/Linux osabi. > There should be linux, and non-linux variants. > Can't we get rid of osabi from xml description, and use them both for linux and non-linux? Similar to arm's target descriptions. -- Yao (齐尧)