From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27282 invoked by alias); 29 May 2002 02:30:37 -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 27264 invoked from network); 29 May 2002 02:30:33 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 29 May 2002 02:30:33 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4170B3D2A; Tue, 28 May 2002 22:30:44 -0400 (EDT) Message-ID: <3CF43D54.8070409@cygnus.com> Date: Tue, 28 May 2002 19:42:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc2) Gecko/20020518 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason R Thorpe Cc: Kevin Buettner , gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] Generic OS ABI handling for PowerPC References: <20020528122612.O22765@dr-evil.shagadelic.org> <1020528194109.ZM21642@localhost.localdomain> <20020528125247.P22765@dr-evil.shagadelic.org> <1020528204629.ZM29455@localhost.localdomain> <20020528152642.S22765@dr-evil.shagadelic.org> <1020528233517.ZM5467@localhost.localdomain> <20020528164621.B22765@dr-evil.shagadelic.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00996.txt.bz2 > So, yes, one day I want to be able to say: > > --target=powerpc-unknown-netbsd,powerpc-unknown-linux-gnu From memory the syntax is: --target=powerpc-unknown-netbsd \ --enable-targets=powerpc-unknown-linux-gnu same as BFD. There is a very old WIP patch to add this, sounds like it it time to try it again. Andrew > ...or whatever, and have the right thing happen, all based on the > markers in the debugged executable that the gdbarch_osabi_*() stuff > can examine (the osabi stuff will even warn you if you try to debug > an executable which requires OS ABI support not compiled into GDB).