summaryrefslogtreecommitdiff
path: root/gdb/microblaze-linux-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2011-12-14 14:55:26 +0000
committerPedro Alves <pedro@codesourcery.com>2011-12-14 14:55:26 +0000
commit2fc0129d708b17ccd2e8a5f739c9cba73dbca52f (patch)
tree89a7de4bd8147e84db6f1faeec001dfbdb289c52 /gdb/microblaze-linux-tdep.c
parent87b679798f2d903593adc3f2ca92034db5c80cef (diff)
downloadgdb-2fc0129d708b17ccd2e8a5f739c9cba73dbca52f.tar.gz
2011-12-14 Pedro Alves <pedro@codesourcery.com>
* ia64-tdep.c (ia64_memory_remove_breakpoint): Use target_write_raw_memory. * m32r-tdep.c (m32r_memory_remove_breakpoint): Use target_write_raw_memory. * microblaze-linux-tdep.c (microblaze_linux_memory_remove_breakpoint): Use target_write_raw_memory. * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Use target_write_raw_memory.
Diffstat (limited to 'gdb/microblaze-linux-tdep.c')
-rw-r--r--gdb/microblaze-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/microblaze-linux-tdep.c b/gdb/microblaze-linux-tdep.c
index c14e01b43fe..7b2662d4f96 100644
--- a/gdb/microblaze-linux-tdep.c
+++ b/gdb/microblaze-linux-tdep.c
@@ -58,7 +58,7 @@ microblaze_linux_memory_remove_breakpoint (struct gdbarch *gdbarch,
program modified the code on us, so it is wrong to put back the
old value. */
if (val == 0 && memcmp (bp, old_contents, bplen) == 0)
- val = target_write_memory (addr, bp_tgt->shadow_contents, bplen);
+ val = target_write_raw_memory (addr, bp_tgt->shadow_contents, bplen);
return val;
}