aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sh
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-01 20:37:15 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-01 20:37:15 +0000
commitade40d3153e344521d48bddf744bc2b8a1792d06 (patch)
tree318ffdf6c80d39146d86792845cb02d36260e9d9 /gdb/config/sh
parente96d50d03cdcd0629a93898ab7a740e98cdc7f86 (diff)
downloadgdb-ade40d3153e344521d48bddf744bc2b8a1792d06.zip
gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.gz
gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.bz2
bcopy -> memcpy
Diffstat (limited to 'gdb/config/sh')
-rw-r--r--gdb/config/sh/tm-sh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index 7dc6819..b1f53c2 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -160,7 +160,7 @@ extern CORE_ADDR sh_skip_prologue ();
into VALBUF. */
#define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \
- bcopy ((char *)(REGBUF), VALBUF, TYPE_LENGTH(TYPE))
+ memcpy (VALBUF, (char *)(REGBUF), TYPE_LENGTH(TYPE))
/* Write into appropriate registers a function return value