diff options
author | Pedro Alves <palves@redhat.com> | 2011-12-14 14:55:27 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-12-14 14:55:27 +0000 |
commit | dd110abf0474d4e6d8af047d4c7f8d9b340559ef (patch) | |
tree | be951a9e52fdb5a9cf87c4ef68b29a768385f7d7 /gdb/ppc-linux-tdep.c | |
parent | 2fb860fcbc80b76dbd84958e547ddf1bdd1c4417 (diff) | |
download | gdb-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/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index e623742..9968621 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; |