diff options
author | K. Richard Pixley <rich@cygnus> | 1993-09-01 20:37:15 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-09-01 20:37:15 +0000 |
commit | ade40d3153e344521d48bddf744bc2b8a1792d06 (patch) | |
tree | 318ffdf6c80d39146d86792845cb02d36260e9d9 /gdb/config/a29k | |
parent | e96d50d03cdcd0629a93898ab7a740e98cdc7f86 (diff) | |
download | gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.zip gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.gz gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.bz2 |
bcopy -> memcpy
Diffstat (limited to 'gdb/config/a29k')
-rw-r--r-- | gdb/config/a29k/tm-a29k.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/config/a29k/tm-a29k.h b/gdb/config/a29k/tm-a29k.h index cc6592e..ae89beb 100644 --- a/gdb/config/a29k/tm-a29k.h +++ b/gdb/config/a29k/tm-a29k.h @@ -267,13 +267,13 @@ CORE_ADDR skip_prologue (); to virtual format for register REGNUM. */ #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) \ -{ bcopy ((FROM), (TO), 4); } +{ memcpy ((TO), (FROM), 4); } /* Convert data from virtual format for register REGNUM to raw format for register REGNUM. */ #define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \ -{ bcopy ((FROM), (TO), 4); } +{ memcpy ((TO), (FROM), 4); } /* Return the GDB type object for the "standard" data type of data in register N. */ @@ -309,7 +309,7 @@ CORE_ADDR skip_prologue (); read_memory (*((int *)(REGBUF) + LRP_REGNUM), (VALBUF) + 16 * 4, \ TYPE_LENGTH (TYPE) - 16 * 4); \ } \ - bcopy (((int *)(REGBUF))+RETURN_REGNUM, (VALBUF), reg_length); \ + memcpy ((VALBUF), ((int *)(REGBUF))+RETURN_REGNUM, reg_length); \ } /* Write into appropriate registers a function return value |