aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/simops.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-10-30 15:51:39 +0000
committerJeff Law <law@redhat.com>1996-10-30 15:51:39 +0000
commit6803f89b14a0d92f9012ca37f7069f345ddaca91 (patch)
tree5e1569b3960427d41161402545b09f61cc1e5173 /sim/v850/simops.c
parentea5c2d663c358e09575d5cdd43d9316bcb511ed9 (diff)
downloadgdb-6803f89b14a0d92f9012ca37f7069f345ddaca91.zip
gdb-6803f89b14a0d92f9012ca37f7069f345ddaca91.tar.gz
gdb-6803f89b14a0d92f9012ca37f7069f345ddaca91.tar.bz2
* simops.c (OP_10007E0): Handle SYS_time.
Check into devo too.
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r--sim/v850/simops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index 0d7e1bc..dc5f836 100644
--- a/sim/v850/simops.c
+++ b/sim/v850/simops.c
@@ -2083,6 +2083,9 @@ OP_10007E0 ()
case SYS_chmod:
RETVAL = chmod (MEMPTR (PARM1), PARM2);
break;
+ case SYS_time:
+ RETVAL = time (MEMPTR (PARM1));
+ break;
case SYS_utime:
/* Cast the second argument to void *, to avoid type mismatch
if a prototype is present. */