From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21643 invoked by alias); 9 May 2002 11:00:50 -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 21433 invoked from network); 9 May 2002 11:00:48 -0000 Received: from unknown (HELO dell-paw-2.cambridge.redhat.com) (195.224.55.226) by sources.redhat.com with SMTP; 9 May 2002 11:00:48 -0000 Received: from north-pole.nickc.cambridge.redhat.com (host217-35-6-237.in-addr.btopenworld.com [217.35.6.237]) by dell-paw-2.cambridge.redhat.com (Postfix) with ESMTP id 16BB02B55C for ; Thu, 9 May 2002 12:00:48 +0100 (BST) Received: from north-pole.nickc.cambridge.redhat.com.nickc.cambridge.redhat.com (localhost [127.0.0.1]) by north-pole.nickc.cambridge.redhat.com (Postfix) with ESMTP id 9095E1C395; Thu, 9 May 2002 12:00:35 +0100 (BST) To: Richard.Earnshaw@arm.com Cc: gdb-patches@sources.redhat.com Subject: Re: Add support for RedBoot SWIs to ARM Simulator References: <200205091022.LAA16683@cam-mail2.cambridge.arm.com> From: Nick Clifton Date: Thu, 09 May 2002 04:00:00 -0000 In-Reply-To: <200205091022.LAA16683@cam-mail2.cambridge.arm.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-05/txt/msg00270.txt.bz2 Hi Richard, > This may trample on the toes of somebody using that SWI as a real > trap into an OS. Well it would if they were then trying to run code compiled for that OS on the simulator. > We probably should have a way of configuring the simulator at > run-time to allow emulation of a set of SWI values. Either from a > command-line switch (for the arm-...-run command) or a gdb hook (for use > within gdb). > Something like: > > arm-elf-run -emul-swi={redboot|angel|demon|none} Hmm, well that could be done. Personally I would hold off doing it until there is actually a situation where it is needed. At the moment support all three SWI interfaces simultaneously is not a problem. So unless someone comes up with a real situation where it causes problems I would leave things as they are. (Just my 2 cents worth). Cheers Nick