mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
* simops.c (OP_10007E0): Handle SYS_time.
Check into devo too.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Wed Oct 30 08:49:10 1996 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* simops.c (OP_10007E0): Handle SYS_time.
|
||||||
|
|
||||||
Tue Oct 29 14:22:55 1996 Jeffrey A Law (law@cygnus.com)
|
Tue Oct 29 14:22:55 1996 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* simops.c: Include <sys/stat.h>.
|
* simops.c: Include <sys/stat.h>.
|
||||||
|
@ -2083,6 +2083,9 @@ OP_10007E0 ()
|
|||||||
case SYS_chmod:
|
case SYS_chmod:
|
||||||
RETVAL = chmod (MEMPTR (PARM1), PARM2);
|
RETVAL = chmod (MEMPTR (PARM1), PARM2);
|
||||||
break;
|
break;
|
||||||
|
case SYS_time:
|
||||||
|
RETVAL = time (MEMPTR (PARM1));
|
||||||
|
break;
|
||||||
case SYS_utime:
|
case SYS_utime:
|
||||||
/* Cast the second argument to void *, to avoid type mismatch
|
/* Cast the second argument to void *, to avoid type mismatch
|
||||||
if a prototype is present. */
|
if a prototype is present. */
|
||||||
|
Reference in New Issue
Block a user