aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-02-01 01:01:21 +0000
committerMichael Snyder <msnyder@vmware.com>2002-02-01 01:01:21 +0000
commit8add04415af37e5685d2211496f0473aeefd67e0 (patch)
treebd841fdab1b11c32c22bcbe590903d4919c82132
parent405f26e62fac15d3bb255ebe9dfe1fbff4950f2b (diff)
downloadgdb-8add04415af37e5685d2211496f0473aeefd67e0.zip
gdb-8add04415af37e5685d2211496f0473aeefd67e0.tar.gz
gdb-8add04415af37e5685d2211496f0473aeefd67e0.tar.bz2
2002-01-31 Michael Snyder <msnyder@redhat.com>
* target.c (target_xfer_memory): Add spaces, coding standard.
-rw-r--r--gdb/ChangeLog1
-rw-r--r--gdb/target.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1f5e6b3..5e47b92 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,6 @@
2002-01-31 Michael Snyder <msnyder@redhat.com>
+ * target.c (target_xfer_memory): Add spaces, coding standard.
* target.c (do_xfer_memory): Add missing line to trust-readonly
code: check bfd SEC_READONLY flag for section.
diff --git a/gdb/target.c b/gdb/target.c
index 529291f..d5f205f 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -949,10 +949,10 @@ target_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write)
while (reg_len > 0)
{
if (region->attrib.cache)
- res = dcache_xfer_memory(target_dcache, memaddr, myaddr,
+ res = dcache_xfer_memory (target_dcache, memaddr, myaddr,
reg_len, write);
else
- res = do_xfer_memory(memaddr, myaddr, reg_len, write,
+ res = do_xfer_memory (memaddr, myaddr, reg_len, write,
&region->attrib);
if (res <= 0)
@@ -2297,5 +2297,5 @@ result in significant performance improvement for remote targets.",
add_com ("monitor", class_obscure, do_monitor_command,
"Send a command to the remote monitor (remote targets only).");
- target_dcache = dcache_init();
+ target_dcache = dcache_init ();
}