From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10748 invoked by alias); 13 May 2002 22:13:38 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10719 invoked from network); 13 May 2002 22:13:36 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 13 May 2002 22:13:36 -0000 Received: from localhost.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id PAA19677; Mon, 13 May 2002 15:13:27 -0700 (PDT) Received: by localhost.redhat.com (Postfix, from userid 469) id 972C010AAE; Mon, 13 May 2002 17:43:46 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15584.13201.911826.654638@localhost.redhat.com> Date: Mon, 13 May 2002 15:13:00 -0000 To: thorpej@wasabisystems.com Cc: Elena Zannoni , Nick Clifton , binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] Include sh64 support for shle-*-netbsdelf* In-Reply-To: <20020513142759.C3435@dr-evil.shagadelic.org> References: <20020511115603.W3435@dr-evil.shagadelic.org> <20020513082324.R3435@dr-evil.shagadelic.org> <15584.11203.728429.774659@localhost.redhat.com> <20020513142759.C3435@dr-evil.shagadelic.org> X-SW-Source: 2002-05/txt/msg00502.txt.bz2 Jason R Thorpe writes: > On Mon, May 13, 2002 at 05:10:27PM -0400, Elena Zannoni wrote: > > > Wouldn't the same change be required to build sh*le-*-netbdself* ? > > The tdep gdb file is going to be built for all the sh targets. And that file > > requires the sh64 disassembly functions. > > Yah, probably. I've only been confiugring as sh-netbsdelf and shle-netbsdelf > (since that is what the NetBSD OS build framework generally uses). > Yes, that's the same thing I did. I am going to drop the sh-hms target in gdb. From the gdb point of view is just the same as the sh-elf target. > > Even the sh coff targets will require the sh64 stuff. :-( > > Sigh. Maybe the sh64 stuff should be split out a bit more? > I would suggest going the opposite direction. :-) Just unify everything as much as possible, like gdb does. Just have a sh* target and be done with it. Netbsd already builds elf and coff bfd targets together anyway. Having 12 bfd sh targets seems confusing to me. I think the main problem is that the sh disassembly interface is not offering a single entry point. I think I'll write a wrapper. Elena > -- > -- Jason R. Thorpe