From 133dcd92c99bb5a63ff248a19c6d51d876412444 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 5 Oct 1999 14:02:57 +0000 Subject: Patch from Eric Valette with two small fixes related to GDB over TCP/IP debug. --- c/src/librdbg/src/powerpc/rdbg_cpu_asm.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c/src/librdbg/src/powerpc/rdbg_cpu_asm.S') diff --git a/c/src/librdbg/src/powerpc/rdbg_cpu_asm.S b/c/src/librdbg/src/powerpc/rdbg_cpu_asm.S index d45d6b52da..657a279830 100644 --- a/c/src/librdbg/src/powerpc/rdbg_cpu_asm.S +++ b/c/src/librdbg/src/powerpc/rdbg_cpu_asm.S @@ -25,6 +25,8 @@ PUBLIC_VAR (copyback_data_cache_and_invalidate_instr_cache) SYM (copyback_data_cache_and_invalidate_instr_cache): + /* make sure the data changed is in the cache */ + sync /* r3 address to handle, r4 length in bytes */ addi r6, r0, PPC_CACHE_ALIGNMENT /* r5 = last address to handle */ -- cgit v1.2.3