diff options
Diffstat (limited to 'gdb/tm-i386v.h')
-rw-r--r-- | gdb/tm-i386v.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/tm-i386v.h b/gdb/tm-i386v.h index 21fca33..68875ba 100644 --- a/gdb/tm-i386v.h +++ b/gdb/tm-i386v.h @@ -179,12 +179,14 @@ i386_skip_prologue PARAMS ((int)); /* Convert data from raw format for register REGNUM to virtual format for register REGNUM. */ -#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) {bcopy ((FROM), (TO), 4);} +#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) \ + {(void) 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);} +#define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \ + {(void) memcpy ((TO), (FROM), 4);} /* Return the GDB type object for the "standard" data type of data in register N. */ @@ -206,7 +208,7 @@ i386_skip_prologue PARAMS ((int)); into VALBUF. */ #define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ - bcopy (REGBUF, VALBUF, TYPE_LENGTH (TYPE)) + (void) memcpy ((VALBUF), (REGBUF), TYPE_LENGTH (TYPE)) /* Write into appropriate registers a function return value of type TYPE, given in virtual format. */ |