diff options
author | Daniel Jacobowitz <dan@debian.org> | 2008-03-13 12:22:14 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2008-03-13 12:22:14 +0000 |
commit | f54853edc39f32e925ef88fa80fc7dae9ec1755a (patch) | |
tree | d544f36bab22fa4af47d6396b2c24f09993d615b /gdb/alpha-tdep.c | |
parent | 72d2eaf1f92bae1c26e8298eb39022e21b13485a (diff) | |
download | gdb-f54853edc39f32e925ef88fa80fc7dae9ec1755a.tar.gz |
* breakpoint.h (breakpoint_restore_shadows): New
declaration.
* breakpoint.c (breakpoint_restore_shadows): New.
(read_memory_nobpt): Delete.
* gdbcore.h (read_memory_nobpt): Delete declaration.
* target.c (memory_xfer_partial): Call
breakpoint_restore_shadows.
(restore_show_memory_breakpoints)
(make_show_memory_beakpoints_cleanup): New.
(show_memory_breakpoints): New.
* target.h (make_show_memory_beakpoints_cleanup): Declare.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint):
Make sure we see memory breakpoints when checking if
breakpoint is still there.
* alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c,
hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c,
m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c,
sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r-- | gdb/alpha-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 27b486999b7..6a55700bcbf 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -638,7 +638,7 @@ alpha_read_insn (CORE_ADDR pc) gdb_byte buf[ALPHA_INSN_SIZE]; int status; - status = read_memory_nobpt (pc, buf, sizeof (buf)); + status = target_read_memory (pc, buf, sizeof (buf)); if (status) memory_error (status, pc); return extract_unsigned_integer (buf, sizeof (buf)); |