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] white space tweak


coding standard, obvious...

2002-01-31  Michael Snyder  <msnyder@redhat.com>

	* target.c (target_xfer_memory): Add spaces, coding standard.

Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.32
diff -p -r1.32 target.c
*** target.c	2002/02/01 00:49:53	1.32
--- target.c	2002/02/01 01:00:01
*************** target_xfer_memory (CORE_ADDR memaddr, c
*** 949,958 ****
        while (reg_len > 0)
  	{
  	  if (region->attrib.cache)
! 	    res = dcache_xfer_memory(target_dcache, memaddr, myaddr,
  				     reg_len, write);
  	  else
! 	    res = do_xfer_memory(memaddr, myaddr, reg_len, write,
  				 &region->attrib);
  	      
  	  if (res <= 0)
--- 949,958 ----
        while (reg_len > 0)
  	{
  	  if (region->attrib.cache)
! 	    res = dcache_xfer_memory (target_dcache, memaddr, myaddr,
  				     reg_len, write);
  	  else
! 	    res = do_xfer_memory (memaddr, myaddr, reg_len, write,
  				 &region->attrib);
  	      
  	  if (res <= 0)
*************** result in significant performance improv
*** 2297,2301 ****
    add_com ("monitor", class_obscure, do_monitor_command,
  	   "Send a command to the remote monitor (remote targets only).");
  
!   target_dcache = dcache_init();
  }
--- 2297,2301 ----
    add_com ("monitor", class_obscure, do_monitor_command,
  	   "Send a command to the remote monitor (remote targets only).");
  
!   target_dcache = dcache_init ();
  }


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