+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 Joel Brobecker <brobecker@adacore.com>
* linespec.c (decode_line_internal): Make static.
/* 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;
}
/* Write contents. */
- val = target_write_memory (addr & 0xfffffffc, buf, 4);
+ val = target_write_raw_memory (addr & 0xfffffffc, buf, 4);
return val;
}
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;
}
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;