This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] white space tweak
- From: Michael Snyder <msnyder at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 31 Jan 2002 16:55:18 -0800
- Subject: [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,
®ion->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,
®ion->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 ();
}