From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11756 invoked by alias); 20 May 2002 14:49:07 -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 11736 invoked from network); 20 May 2002 14:49:05 -0000 Received: from unknown (HELO dell-paw-2.cambridge.redhat.com) (195.224.55.226) by sources.redhat.com with SMTP; 20 May 2002 14:49:05 -0000 Received: from north-pole.nickc.cambridge.redhat.com (host217-39-2-165.in-addr.btopenworld.com [217.39.2.165]) by dell-paw-2.cambridge.redhat.com (Postfix) with ESMTP id EBCF22B572 for ; Mon, 20 May 2002 15:49:04 +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 B3F171C39D for ; Mon, 20 May 2002 15:48:55 +0100 (BST) To: gdb-patches@sources.redhat.com Subject: Re: Add support for target switches in simulator From: Nick Clifton Date: Mon, 20 May 2002 07:49:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2002-05/txt/msg00820.txt.bz2 Hi Guys, I have checked the patch in. It occurs to me however, that I failed to document the new feature. So how about the following patch ? (I am not sure about the exact formatting for GDB texinfo additions, but I gave it my best shot). May I apply this patch too ? Cheers Nick gdb/ChangeLog 2002-05-20 Nick Clifton * NEWS: Mention new command line switch supported by arm simulator. * doc/gdb.texinfo: Document new command line switch supported by arm simulator. Index: gdb/NEWS =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.70 diff -c -3 -p -w -r1.70 NEWS *** gdb/NEWS 17 May 2002 18:02:20 -0000 1.70 --- gdb/NEWS 20 May 2002 14:46:12 -0000 *************** *** 3,8 **** --- 3,11 ---- =20=20 *** Changes since GDB 5.2: =20=20 + * ARM simulator now supports a command line switch to select which SWI + protocols to emulate. Use --swi-support=3D{none|demon|angel|redboot}. +=20 * GDB now supports C/C++ preprocessor macros. =20=20 GDB now expands preprocessor macro invocations in C/C++ expressions, Index: gdb/doc/gdb.texinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.100 diff -c -3 -p -w -r1.100 gdb.texinfo *** gdb/doc/gdb.texinfo 17 May 2002 18:00:03 -0000 1.100 --- gdb/doc/gdb.texinfo 20 May 2002 14:46:18 -0000 *************** monitor, or with the EmbeddedICE JTAG de *** 11315,11320 **** --- 11315,11327 ---- @item target rdp @var{dev} ARM Demon monitor. =20=20 + @kindex target sim + @kindex --swi-support + @item target sim @r{[}@samp{--swi-support=3D@var{none|demon|angel|redboot= |all}}@r{]} + Use this switch to run on the builtin ARM simulator=B7 The optional + @samp{--swi-support} switch can be used to select which SWI + protocol(s) to support. By default all three are supported. +=20 @end table =20=20 @node H8/300