From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12441 invoked by alias); 26 May 2004 01:31:55 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12433 invoked from network); 26 May 2004 01:31:54 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 26 May 2004 01:31:54 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BSnGy-0006sE-0o; Tue, 25 May 2004 21:32:00 -0400 Date: Wed, 26 May 2004 01:31:00 -0000 From: Daniel Jacobowitz To: Julian Back Cc: gdb@sources.redhat.com Subject: Re: Building GDB 6.1 for SH target Message-ID: <20040526013159.GA26379@nevyn.them.org> Mail-Followup-To: Julian Back , gdb@sources.redhat.com References: <40B36915.7060208@mpc-data.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40B36915.7060208@mpc-data.co.uk> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-05/txt/msg00173.txt.bz2 On Tue, May 25, 2004 at 04:41:09PM +0100, Julian Back wrote: > I've started using GDB 6.1 with an SH target as I wanted to have support > for SH4A. When I build GDB 6.1 for a target of "sh-linux" (which I used > fine with GDB 6.0) I get a warning message when I run GDB: > > warning: A handler for the OS ABI "GNU/Linux" is not built into this > configuration > of GDB. Attempting to continue with the default sh settings. > > GDB then appears to work OK. > > When I build GDB with a target of just "sh" I don't get this warning but > then I don't get support for ELF binaries either. > > At the moment I don't actually need Linux support (but I probably will > in the future), but I do need ELF support. I can live with the warning > but I will want to distribute the GDB binary to others so I'd prefer to > avoid it. > > I could just remove the warning from the source, but what would be the > correct way to fix this? I would also be interested to know why GDB no > longer seems to have Linux support for SH. No one's updated the GDB sh-linux port in a long time, and GDB has evolved out from under it. -- Daniel Jacobowitz