aboutsummaryrefslogtreecommitdiff
path: root/gdb/m3-nat.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-25 21:15:53 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-25 21:15:53 +0000
commita6e0dae9c3decfe89c70f020c048bc132bfa54a2 (patch)
treebd8dbf95da1b1d46a60b020b72ac4fe72b418b2c /gdb/m3-nat.c
parent59168c8b053591d680fdef52b1178ce9bd54f45e (diff)
downloadgdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.zip
gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.tar.gz
gdb-a6e0dae9c3decfe89c70f020c048bc132bfa54a2.tar.bz2
* gdbserver/{low-lynx.c,low-sparc.c,low-sun3.c}, standalone.c,
m3-nat.c, i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c: bcopy -> memcpy.
Diffstat (limited to 'gdb/m3-nat.c')
-rw-r--r--gdb/m3-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c
index 66a21e5..fcb7b20 100644
--- a/gdb/m3-nat.c
+++ b/gdb/m3-nat.c
@@ -1798,7 +1798,7 @@ mach3_read_inferior (addr, myaddr, length)
}
}
- bcopy ((char *)addr - low_address + copied_memory, myaddr, length);
+ memcpy (myaddr, (char *)addr - low_address + copied_memory, length);
ret = vm_deallocate (mach_task_self (),
copied_memory,
@@ -1858,7 +1858,7 @@ mach3_write_inferior (addr, myaddr, length)
deallocate++;
- bcopy (myaddr, (char *)addr - low_address + copied_memory, length);
+ memcpy ((char *)addr - low_address + copied_memory, myaddr, length);
obstack_init (&region_obstack);