From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12800 invoked by alias); 28 May 2002 23:46:25 -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 12777 invoked from network); 28 May 2002 23:46:22 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.162) by sources.redhat.com with SMTP; 28 May 2002 23:46:22 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id D1E0F9869; Tue, 28 May 2002 16:46:21 -0700 (PDT) Date: Tue, 28 May 2002 16:47:00 -0000 From: Jason R Thorpe To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] Generic OS ABI handling for PowerPC Message-ID: <20020528164621.B22765@dr-evil.shagadelic.org> Mail-Followup-To: Jason R Thorpe , Kevin Buettner , gdb-patches@sources.redhat.com 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1020528233517.ZM5467@localhost.localdomain>; from kevinb@redhat.com on Tue, May 28, 2002 at 04:35:17PM -0700 Organization: Wasabi Systems, Inc. X-SW-Source: 2002-05/txt/msg00985.txt.bz2 On Tue, May 28, 2002 at 04:35:17PM -0700, Kevin Buettner wrote: > > Would that be an acceptable interim solution? > > Yeah, I like this better. Ok, I'll post another patch shortly. > Hmm. I see where you're coming from, but be careful in how you go > about it because we don't want to preclude the building of a cross > debugger which can debug both NetBSD/PPC and Linux/PPC binaries > (connected to a suitable target of course). Yes, I understand. But it still seems correct to cleanly separate the targets so that one day you'll be able to specify precisely which ones you want. (Even without my patch, you can't properly cross debug both Linux and NetBSD PowerPC binaries in the same gdb, because the Linux cross debug stuff is incomplete.) So, yes, one day I want to be able to say: --target=powerpc-unknown-netbsd,powerpc-unknown-linux-gnu ...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). -- -- Jason R. Thorpe