diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-04 14:23:51 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-04 14:23:51 +0000 |
commit | 98d346c38e53e4d3259184f5405f6ae0d12627ba (patch) | |
tree | 78a8ad6db084f74c500cf8e141111248be20ecc9 /gdb/gnu-nat.c | |
parent | 6cdf9d98c7b8abfc2a4f54d603667231067093e8 (diff) | |
download | gdb-98d346c38e53e4d3259184f5405f6ae0d12627ba.zip gdb-98d346c38e53e4d3259184f5405f6ae0d12627ba.tar.gz gdb-98d346c38e53e4d3259184f5405f6ae0d12627ba.tar.bz2 |
2004-04-04 Andrew Cagney <cagney@redhat.com>
* gnu-nat.c (gnu_wait): Use memcpy instead of bcopy.
* remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
* remote-vx68.c (vx_read_register, vx_write_register): Ditto.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index a61d577..dee0e2c 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -1574,7 +1574,7 @@ rewait: } /* Pass back out our results. */ - bcopy (&inf->wait.status, status, sizeof (*status)); + memcpy (status, &inf->wait.status, sizeof (*status)); thread = inf->wait.thread; if (thread) |