From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25928 invoked by alias); 7 May 2002 16:29:09 -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 25866 invoked from network); 7 May 2002 16:29:06 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.162) by sources.redhat.com with SMTP; 7 May 2002 16:29:06 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id 49AEE9869; Tue, 7 May 2002 09:29:03 -0700 (PDT) Date: Tue, 07 May 2002 09:29:00 -0000 From: Jason R Thorpe To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] Add OS/ABI infrastructure to SuperH target Message-ID: <20020507092902.K503@dr-evil.shagadelic.org> Reply-To: thorpej@wasabisystems.com Mail-Followup-To: Jason R Thorpe , Elena Zannoni , gdb-patches@sources.redhat.com References: <20020507014529.I503@dr-evil.shagadelic.org> <15575.61481.423043.405803@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15575.61481.423043.405803@localhost.redhat.com>; from ezannoni@redhat.com on Tue, May 07, 2002 at 11:18:01AM -0400 Organization: Wasabi Systems, Inc. X-SW-Source: 2002-05/txt/msg00167.txt.bz2 On Tue, May 07, 2002 at 11:18:01AM -0400, Elena Zannoni wrote: > The ABI is unknown for all the architectures except for sh5 where it > is set to either 32 or 64 depending on the bfd. I am not saying this > is completely correct, note. Hm. Well, I'm happy to change the OS/ABI stuff to "sh_osabi". Might be more appropriate, anyway (eventually, I want to make the osabi stuff generic and plop it into a common file). > Is there any chance you could take a look at the sh5 patch I posted a > while back, and see if/how your patch integrates (in principle, at least)? > The patch is here: > http://sources.redhat.com/ml/gdb-patches/2002-02/msg00218.html Yah, I'll peek at it in a couple of hours. > About your patch, I would prefer if the switch on the os_number used > names instead of 0,1,2, is this possible? Same for this line: > + if (elfosabi == 0) Hm, are there manifest constants defined in our header files for the GNU OS numbers? Heh, if not, I guess it wouldn't be hard to add them :-) Anyway, I'll tweak this in a bit and re-post. -- -- Jason R. Thorpe