From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15080 invoked by alias); 28 Dec 2002 12:36:57 -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 15053 invoked from network); 28 Dec 2002 12:36:54 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.250) by 209.249.29.67 with SMTP; 28 Dec 2002 12:36:54 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6/8.12.5) with ESMTP id gBSCaV8M000465; Sat, 28 Dec 2002 13:36:31 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6/8.12.6) with ESMTP id gBSCaVZf022791; Sat, 28 Dec 2002 13:36:31 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6/8.12.6/Submit) id gBSCaU5K022788; Sat, 28 Dec 2002 13:36:30 +0100 (CET) To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: "set osabi" References: <20021228034746.GA25677@nevyn.them.org> From: Mark Kettenis Date: Sat, 28 Dec 2002 04:39:00 -0000 In-Reply-To: Daniel Jacobowitz's message of "Fri, 27 Dec 2002 22:47:46 -0500" Message-ID: <86y96ajp6a.fsf@elgar.kettenis.dyndns.org> X-SW-Source: 2002-12/txt/msg00710.txt.bz2 Daniel Jacobowitz writes: > As promised. I'm also looking for comments on this patch. I know it needs > documentation still; that's on hold for a moment because it would conflict > with one of my other pending doc patches (since I want to put them in the > same section). I'll do the docs before committing this. > > This patch implements: > - "set osabi" > - "show osabi" > - The concept of a "default OS ABI" which will be applied instead > of GDB_OSABI_UNKNOWN to an untagged binary. It looks good to me. In the long run, I think we should allow target selection based on the canonical system names as used by autoconf & friends, i.e. i686-pc-linux-gnu or hppa2.0w-hp-hpux11.11. This makes me wonder whether we should accept strings like "linux-gnu" or "hpux11.11" as an argument for the "set osabi" command. Mark