From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2316 invoked by alias); 16 May 2002 16:25:10 -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 2289 invoked from network); 16 May 2002 16:25:08 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 16 May 2002 16:25:08 -0000 Received: by fw-cam.cambridge.arm.com; id RAA00288; Thu, 16 May 2002 17:25:07 +0100 (BST) Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma029673; Thu, 16 May 02 17:24:38 +0100 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [172.16.1.91]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id RAA12184; Thu, 16 May 2002 17:24:37 +0100 (BST) Received: from sun18.cambridge.arm.com (sun18.cambridge.arm.com [172.16.2.18]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id RAA15198; Thu, 16 May 2002 17:24:37 +0100 (BST) Message-Id: <200205161624.RAA15198@cam-mail2.cambridge.arm.com> To: Nick Clifton cc: gdb-patches@sources.redhat.com, Richard.Earnshaw@arm.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: Add support for target switches in simulator In-reply-to: Your message of "16 May 2002 17:16:34 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 16 May 2002 09:25:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-05/txt/msg00648.txt.bz2 nickc@cambridge.redhat.com said: > > I would like permission to apply the following patch. It adds the > ability for simulator backends to parse their own command line > switches, thus creating target specific simulator options. > > I would like this facility in order to be able to add a new switch > to the ARM simulator - a switch to select which set(s) of SWI > emulations it should perform. > > I have not worked out how this feature would be accessed from GDB. > My guess is that the switches could be added to the arguments passed > via sim_open(), but how would a GDB user tell GDB to add these > switches ? Hmm, I thought there was already a way to tell the simulator what amount of memory to use. Couldn't a similar method be employed. R. PS. I haven't looked at how that was done, but I recall a discussion about this recently on the mailing list related to increasing the amount of memory for a Java testsuite run.