From 8add04415af37e5685d2211496f0473aeefd67e0 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 1 Feb 2002 01:01:21 +0000 Subject: [PATCH] 2002-01-31 Michael Snyder * target.c (target_xfer_memory): Add spaces, coding standard. --- gdb/ChangeLog | 1 + gdb/target.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1f5e6b37078..5e47b923b73 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,6 @@ 2002-01-31 Michael Snyder + * 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 529291f879c..d5f205fda0f 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 (); } -- 2.30.2