diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-10-19 02:47:02 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-10-19 02:47:02 +0000 |
commit | 917317f4c6550f3f3e0001d0a9e5a6acd6a2d1be (patch) | |
tree | 3ecc5a5d86fef50ae8715adacf956a2011797441 /gdb/target.h | |
parent | 446a06c9b8819b20be7704f0b540471d76959c66 (diff) | |
download | gdb-917317f4c6550f3f3e0001d0a9e5a6acd6a2d1be.zip gdb-917317f4c6550f3f3e0001d0a9e5a6acd6a2d1be.tar.gz gdb-917317f4c6550f3f3e0001d0a9e5a6acd6a2d1be.tar.bz2 |
import gdb-1999-10-18 snapshot
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/gdb/target.h b/gdb/target.h index 276657f..7fc9e86 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -591,9 +591,6 @@ target_read_memory_section PARAMS ((CORE_ADDR memaddr, char *myaddr, int len, asection * bfd_section)); extern int -target_read_memory_partial PARAMS ((CORE_ADDR, char *, int, int *)); - -extern int target_write_memory PARAMS ((CORE_ADDR, char *, int)); extern int @@ -602,6 +599,16 @@ xfer_memory PARAMS ((CORE_ADDR, char *, int, int, struct target_ops *)); extern int child_xfer_memory PARAMS ((CORE_ADDR, char *, int, int, struct target_ops *)); +/* Make a single attempt at transfering LEN bytes. On a successful + transfer, the number of bytes actually transfered is returned and + ERR is set to 0. When a transfer fails, -1 is returned (the number + of bytes actually transfered is not defined) and ERR is set to a + non-zero error indication. */ + +extern int target_read_memory_partial (CORE_ADDR addr, char *buf, int len, int *err); + +extern int target_write_memory_partial (CORE_ADDR addr, char *buf, int len, int *err); + extern char * child_pid_to_exec_file PARAMS ((int)); @@ -1258,6 +1265,10 @@ extern int memory_remove_breakpoint PARAMS ((CORE_ADDR, char *)); extern int memory_insert_breakpoint PARAMS ((CORE_ADDR, char *)); +extern int default_memory_remove_breakpoint PARAMS ((CORE_ADDR, char *)); + +extern int default_memory_insert_breakpoint PARAMS ((CORE_ADDR, char *)); + extern breakpoint_from_pc_fn memory_breakpoint_from_pc; #ifndef BREAKPOINT_FROM_PC #define BREAKPOINT_FROM_PC(pcptr, lenptr) memory_breakpoint_from_pc (pcptr, lenptr) |