This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add support for target switches in simulator


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  <nickc@cambridge.redhat.com>

	* 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
===================================================================
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 ----
  
  *** Changes since GDB 5.2:
  
+ * ARM simulator now supports a command line switch to select which SWI
+   protocols to emulate.  Use --swi-support={none|demon|angel|redboot}.
+ 
  * GDB now supports C/C++ preprocessor macros.
  
  GDB now expands preprocessor macro invocations in C/C++ expressions,

Index: gdb/doc/gdb.texinfo
===================================================================
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.
  
+ @kindex target sim
+ @kindex --swi-support
+ @item target sim @r{[}@samp{--swi-support=@var{none|demon|angel|redboot|all}}@r{]}
+ Use this switch to run on the builtin ARM simulator·  The optional
+ @samp{--swi-support} switch can be used to select which SWI
+ protocol(s) to support.  By default all three are supported.
+ 
  @end table
  
  @node H8/300




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]