From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 627 invoked by alias); 20 Aug 2002 16:22:03 -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 608 invoked from network); 20 Aug 2002 16:22:02 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.174) by sources.redhat.com with SMTP; 20 Aug 2002 16:22:02 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id 18A6F9869; Tue, 20 Aug 2002 09:22:02 -0700 (PDT) Date: Tue, 20 Aug 2002 09:22:00 -0000 From: Jason R Thorpe To: Andrew Cagney Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Don't complain about unknown OSABI Message-ID: <20020820092202.V2214@dr-evil.shagadelic.org> Mail-Followup-To: Jason R Thorpe , Andrew Cagney , Daniel Jacobowitz , gdb-patches@sources.redhat.com References: <3D5FC00D.50001@ges.redhat.com> <20020818154927.GA20358@nevyn.them.org> <3D5FCE6A.9080308@ges.redhat.com> <20020819161543.GA10137@nevyn.them.org> <3D61792B.1020708@ges.redhat.com> <20020820015542.GA12371@nevyn.them.org> <3D626854.1040500@ges.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D626854.1040500@ges.redhat.com>; from ac131313@ges.redhat.com on Tue, Aug 20, 2002 at 12:03:32PM -0400 Organization: Wasabi Systems, Inc. X-SW-Source: 2002-08/txt/msg00593.txt.bz2 On Tue, Aug 20, 2002 at 12:03:32PM -0400, Andrew Cagney wrote: > Next question. Given an unbranded mips-elf binary, what should the > following GDB's do? > > gdb "unknown" > mips-linux-gnu-gdb "GNU/Linux" > linux-gnu-gdb "GNU/Linux" > m68k-linux-gnu-gdb "You lose." > mips-netbsd-gdb "NetBSD ELF" > mips-gdb "unknown" > elf-gdb "unknown" assuming there is MIPS support, else "You lose." > Having the behavour key off the target creates a problem with an > identical executable behaving differently with different, but similar > GDBs. I suspect it will encourage people to build different GDB's for > identical purposes when just a single GDB is needed. The target name merely specifies a default. If they want to force it to a certain ABI always, they can put "set osabi ..." in their setup file. -- -- Jason R. Thorpe