diff options
author | Joel Brobecker <brobecker@gnat.com> | 2006-08-08 21:32:48 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2006-08-08 21:32:48 +0000 |
commit | 359a926234e5b72f99e7e60d46b4886b5c9af0b2 (patch) | |
tree | fd438881b8692fc4a8a217b2c29678ad8181dec0 /gdb/breakpoint.c | |
parent | 3841debee75d8a9718412490bfc147342861c777 (diff) | |
download | gdb-359a926234e5b72f99e7e60d46b4886b5c9af0b2.zip gdb-359a926234e5b72f99e7e60d46b4886b5c9af0b2.tar.gz gdb-359a926234e5b72f99e7e60d46b4886b5c9af0b2.tar.bz2 |
* gdbcore.h (read_memory_nobpt): New function name instead of
deprecated_read_memory_nobpt.
* breakpoint.c (read_memory_nobpt): New function name instead
of deprecated_read_memory_nobpt.
Adjust calls to old deprecated_read_memory_nobpt accordingly.
* alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
accordingly.
* alphanbsd-tdep.c: Likewise.
* frame.c: Likewise.
* frv-tdep.c: Likewise.
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Likewise.
* i386-linux-nat.c: Likewise.
* m68klinux-tdep.c: Likewise.
* mips-tdep.c: Likewise.
* s390-tdep.c: Likewise.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index dcf33e3..95ab4f9 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -639,8 +639,7 @@ commands_command (char *arg, int from_tty) shadow contents, not the breakpoints themselves. From breakpoint.c. */ int -deprecated_read_memory_nobpt (CORE_ADDR memaddr, gdb_byte *myaddr, - unsigned len) +read_memory_nobpt (CORE_ADDR memaddr, gdb_byte *myaddr, unsigned len) { int status; struct bp_location *b; @@ -702,7 +701,7 @@ deprecated_read_memory_nobpt (CORE_ADDR memaddr, gdb_byte *myaddr, if (bp_addr > memaddr) { /* Copy the section of memory before the breakpoint. */ - status = deprecated_read_memory_nobpt (memaddr, myaddr, bp_addr - memaddr); + status = read_memory_nobpt (memaddr, myaddr, bp_addr - memaddr); if (status != 0) return status; } @@ -710,7 +709,7 @@ deprecated_read_memory_nobpt (CORE_ADDR memaddr, gdb_byte *myaddr, if (bp_addr + bp_size < memaddr + len) { /* Copy the section of memory after the breakpoint. */ - status = deprecated_read_memory_nobpt (bp_addr + bp_size, + status = read_memory_nobpt (bp_addr + bp_size, myaddr + bp_addr + bp_size - memaddr, memaddr + len - (bp_addr + bp_size)); if (status != 0) |