From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2716 invoked by alias); 25 May 2004 15:41:33 -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 2676 invoked from network); 25 May 2004 15:41:32 -0000 Received: from unknown (HELO burton.mpc-data.co.uk) (81.2.99.170) by sourceware.org with SMTP; 25 May 2004 15:41:32 -0000 Received: from lion.mpc-data.co.uk (IDENT:root@lion.mpc-data.co.uk [192.150.92.1]) by burton.mpc-data.co.uk (8.12.8/8.12.7) with ESMTP id i4PFfRXx027410; Tue, 25 May 2004 16:41:29 +0100 Received: from mpc-data.co.uk (jback@wychwood.mpc-data.co.uk [192.150.92.96]) by lion.mpc-data.co.uk (8.9.3/8.8.5) with ESMTP id QAA00610; Tue, 25 May 2004 16:41:32 +0100 Message-ID: <40B36915.7060208@mpc-data.co.uk> Date: Tue, 25 May 2004 15:41:00 -0000 From: Julian Back User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Building GDB 6.1 for SH target Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-05/txt/msg00163.txt.bz2 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. Thanks Julian Back