aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-03-13 12:22:14 +0000
committerDaniel Jacobowitz <drow@false.org>2008-03-13 12:22:14 +0000
commit8defab1af704e456ddf7da74f3e7617bdb70ca3b (patch)
tree6d35cf1fda2ae3e74d708c8438bfa87416570091 /gdb/gdbcore.h
parentPR gas/5895 (diff)
downloadbinutils-gdb-8defab1af704e456ddf7da74f3e7617bdb70ca3b.tar.gz
binutils-gdb-8defab1af704e456ddf7da74f3e7617bdb70ca3b.tar.bz2
binutils-gdb-8defab1af704e456ddf7da74f3e7617bdb70ca3b.zip
* 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/gdbcore.h')
-rw-r--r--gdb/gdbcore.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h
index 895fefbf9df..383cc3f96a7 100644
--- a/gdb/gdbcore.h
+++ b/gdb/gdbcore.h
@@ -39,18 +39,6 @@ extern char *get_exec_file (int err);
extern int have_core_file_p (void);
-/* Read "memory data" from whatever target or inferior we have.
- Returns zero if successful, errno value if not. EIO is used for
- address out of bounds. If breakpoints are inserted, returns shadow
- contents, not the breakpoints themselves. From breakpoint.c. */
-
-/* NOTE: cagney/2004-06-10: Code reading from a live inferior can use
- the get_frame_memory methods, code reading from an exec can use the
- target methods. */
-
-extern int read_memory_nobpt (CORE_ADDR memaddr, gdb_byte *myaddr,
- unsigned len);
-
/* Report a memory error with error(). */
extern void memory_error (int status, CORE_ADDR memaddr);