]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2011-12-14 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Wed, 14 Dec 2011 14:56:23 +0000 (14:56 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 14 Dec 2011 14:56:23 +0000 (14:56 +0000)
* 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.

gdb/ChangeLog
gdb/ia64-tdep.c
gdb/m32r-tdep.c
gdb/microblaze-linux-tdep.c
gdb/ppc-linux-tdep.c

index 488d21b8788b9165c2b538d09fafa9ab93a6a600..51cec931c6f442786887e1c5d94199e1dc37263b 100644 (file)
@@ -1,3 +1,15 @@
+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.
+
 2011-12-14  Yao Qi  <yao@codesourcery.com>
 
        * breakpoint.c (create_breakpoint): Set canonical.addr_string
index 68e50217028351c3560710923fadaea629a33f2e..d1940e63725d76d0bdd8cdb935929e5d7613a24f 100644 (file)
@@ -811,7 +811,7 @@ ia64_memory_remove_breakpoint (struct gdbarch *gdbarch,
   /* In BUNDLE_MEM, be careful to modify only the bits belonging to SLOTNUM
      and not any of the other ones that are stored in SHADOW_CONTENTS.  */
   replace_slotN_contents (bundle_mem, instr_saved, slotnum);
-  val = target_write_memory (addr, bundle_mem, BUNDLE_LEN);
+  val = target_write_raw_memory (addr, bundle_mem, BUNDLE_LEN);
 
   do_cleanups (cleanup);
   return val;
index 136fd7bc65dea71b75aebe9cfeea95701492e27f..b417db027675d1f500b419805540f08ef296ea7f 100644 (file)
@@ -163,7 +163,7 @@ m32r_memory_remove_breakpoint (struct gdbarch *gdbarch,
     }
 
   /* Write contents.  */
-  val = target_write_memory (addr & 0xfffffffc, buf, 4);
+  val = target_write_raw_memory (addr & 0xfffffffc, buf, 4);
   return val;
 }
 
index c14e01b43feea52636fa31780bdc4a537510f2ac..7b2662d4f96a8bad7cee0e93850ba9becd19b3db 100644 (file)
@@ -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;
 }
index e6237422b9b144cef6daa49fdbac9645c1008443..9968621e0dce2abd7e6fcbdd3e0a2cbcd72de6af 100644 (file)
@@ -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;