summaryrefslogtreecommitdiff
path: root/gdb/ppc-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/ppc-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/ppc-linux-tdep.c')
-rw-r--r--gdb/ppc-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index e6237422b9b..9968621e0dc 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -218,7 +218,7 @@ ppc_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);
do_cleanups (cleanup);
return val;