* 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.
This commit is contained in:
Joel Brobecker 2006-08-08 21:32:48 +00:00
parent 3841debee7
commit 359a926234
13 changed files with 47 additions and 29 deletions

View file

@ -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)