aboutsummaryrefslogtreecommitdiff
path: root/sim/sh/interp.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-01-24 13:17:01 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-01-24 13:17:01 +0000
commit554064594b5fa51c31a4d57917b379233780d18f (patch)
tree511f4b10a76edabc33534d7fcd5b8b11bcb123de /sim/sh/interp.c
parent296bc5686a6677a7401a9704b34bfcf2c0728a20 (diff)
downloadgdb-554064594b5fa51c31a4d57917b379233780d18f.zip
gdb-554064594b5fa51c31a4d57917b379233780d18f.tar.gz
gdb-554064594b5fa51c31a4d57917b379233780d18f.tar.bz2
* interp.c (trap): Implement time.
Diffstat (limited to 'sim/sh/interp.c')
-rw-r--r--sim/sh/interp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/sh/interp.c b/sim/sh/interp.c
index 1844227..7f7ffab 100644
--- a/sim/sh/interp.c
+++ b/sim/sh/interp.c
@@ -1102,6 +1102,9 @@ trap (i, regs, memory, maskl, maskw, endianw)
strnswap (regs[5], len);
break;
}
+ case SYS_time:
+ regs[0] = get_now ();
+ break;
default:
abort ();
}