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]

[PATCH] More informative help for 'mem' command



2002-02-04  Michael Snyder  <msnyder@redhat.com>

	* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.

Index: memattr.c
===================================================================
RCS file: /cvs/src/src/gdb/memattr.c,v
retrieving revision 1.7
diff -c -3 -p -r1.7 memattr.c
*** memattr.c	2001/08/02 11:58:29	1.7
--- memattr.c	2002/02/04 23:15:31
*************** _initialize_mem ()
*** 506,512 ****
  {
    add_com ("mem", class_vars, mem_command,
  	   "Define attributes for memory region.\n\
! Usage: mem <lo addr> <hi addr> [<mode> <width> <cache>]");
  
    add_cmd ("mem", class_vars, mem_enable_command,
  	   "Enable memory region.\n\
--- 506,515 ----
  {
    add_com ("mem", class_vars, mem_command,
  	   "Define attributes for memory region.\n\
! Usage: mem <lo addr> <hi addr> [<mode> <width> <cache>], \n\
! where <mode>  may be rw (read/write), ro (read-only) or wo (write-only), \n\
!       <width> may be 8, 16, 32, or 64, and \n\
!       <cache> may be cache or nocache");
  
    add_cmd ("mem", class_vars, mem_enable_command,
  	   "Enable memory region.\n\


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