From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32765 invoked by alias); 22 Feb 2007 17:12:53 -0000 Received: (qmail 32757 invoked by uid 22791); 22 Feb 2007 17:12:52 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 22 Feb 2007 17:12:43 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HKHUl-0001Jb-Vn; Thu, 22 Feb 2007 12:12:40 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HKHUl-0003Vl-OT; Thu, 22 Feb 2007 12:12:39 -0500 Date: Thu, 22 Feb 2007 17:12:00 -0000 From: Daniel Jacobowitz To: Joel Sherrill Cc: gdb-patches@sourceware.org, Ralf Corsepius Subject: Re: gdb 6.6 sim/erc32 does not parse -E option Message-ID: <20070222171239.GA13379@caradoc.them.org> Mail-Followup-To: Joel Sherrill , gdb-patches@sourceware.org, Ralf Corsepius References: <45DDCCAE.9060801@oarcorp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45DDCCAE.9060801@oarcorp.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00274.txt.bz2 On Thu, Feb 22, 2007 at 11:02:38AM -0600, Joel Sherrill wrote: > Hi, > > Apparently gdb 6.6 passes a -E endian option > to the sim_open hook. The erc32 simulator > does not parse this option and produces > a error message like this: > > (gdb) tar sim > unknown option -E > open of big failed > Connected to the simulator. > > The attached patch is in the style of the > existing code and silently eats the -E option > if the endian value is big or little. Could you try this instead? http://sourceware.org/ml/gdb-patches/2007-02/msg00078.html -- Daniel Jacobowitz CodeSourcery