aboutsummaryrefslogtreecommitdiff
path: root/gdb/microblaze-linux-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-12-14 14:55:27 +0000
committerPedro Alves <palves@redhat.com>2011-12-14 14:55:27 +0000
commitdd110abf0474d4e6d8af047d4c7f8d9b340559ef (patch)
treebe951a9e52fdb5a9cf87c4ef68b29a768385f7d7 /gdb/microblaze-linux-tdep.c
parent2fb860fcbc80b76dbd84958e547ddf1bdd1c4417 (diff)
downloadgdb-dd110abf0474d4e6d8af047d4c7f8d9b340559ef.zip
gdb-dd110abf0474d4e6d8af047d4c7f8d9b340559ef.tar.gz
gdb-dd110abf0474d4e6d8af047d4c7f8d9b340559ef.tar.bz2
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 c14e01b..7b2662d 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;
}