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/pa | |
parent | e96d50d03cdcd0629a93898ab7a740e98cdc7f86 (diff) | |
download | gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.zip gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.gz gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.bz2 |
bcopy -> memcpy
Diffstat (limited to 'gdb/config/pa')
-rw-r--r-- | gdb/config/pa/tm-hppa.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index 855154c..55e5774 100644 --- a/gdb/config/pa/tm-hppa.h +++ b/gdb/config/pa/tm-hppa.h @@ -250,8 +250,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ into VALBUF. */ #define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ - bcopy ((REGBUF) + REGISTER_BYTE(TYPE_LENGTH(TYPE) > 4 ? \ - FP4_REGNUM :28), VALBUF, TYPE_LENGTH (TYPE)) + memcpy (VALBUF, (REGBUF) + REGISTER_BYTE(TYPE_LENGTH(TYPE) > 4 ? \ + FP4_REGNUM :28), TYPE_LENGTH (TYPE)) /* Write into appropriate registers a function return value of type TYPE, given in virtual format. */ @@ -566,3 +566,4 @@ struct obj_unwind_info { #define OBJ_UNWIND_INFO(obj) ((struct obj_unwind_info *)obj->obj_private) #define TARGET_READ_PC() target_read_pc () +#define TARGET_WRITE_PC(v) target_write_pc (v) |