diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-02-01 01:01:21 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-02-01 01:01:21 +0000 |
commit | 8add04415af37e5685d2211496f0473aeefd67e0 (patch) | |
tree | bd841fdab1b11c32c22bcbe590903d4919c82132 /gdb | |
parent | 405f26e62fac15d3bb255ebe9dfe1fbff4950f2b (diff) | |
download | gdb-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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 1 | ||||
-rw-r--r-- | gdb/target.c | 6 |
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, ®ion->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 (); } |