diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-06-15 19:22:38 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-06-17 13:19:51 -0400 |
commit | 7d5c6c43ca8a5dd5491f4a58e977ec5501386ee3 (patch) | |
tree | bc347f539bd5eb379bd6b8ce9adef4cdff2a9248 /sim/common/syscall.c | |
parent | 61a0c964e611eaf72489c3049ba206b2f91ea4a9 (diff) | |
download | gdb-7d5c6c43ca8a5dd5491f4a58e977ec5501386ee3.zip gdb-7d5c6c43ca8a5dd5491f4a58e977ec5501386ee3.tar.gz gdb-7d5c6c43ca8a5dd5491f4a58e977ec5501386ee3.tar.bz2 |
sim: syscall: add common sim_syscall helpers
Many ports have the same sim syscall logic, so add some helpers to handle
all the common details. The arches still have to deal with the unpacking
and packing of the syscall arguments, but the rest of the sim<->callback
glue is now shared.
Diffstat (limited to 'sim/common/syscall.c')
-rw-r--r-- | sim/common/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/syscall.c b/sim/common/syscall.c index 29b73c2..0c37428 100644 --- a/sim/common/syscall.c +++ b/sim/common/syscall.c @@ -240,7 +240,7 @@ cb_syscall (host_callback *cb, CB_SYSCALL *sc) #endif /* wip */ case CB_SYS_exit : - /* Caller must catch and handle. */ + /* Caller must catch and handle; see sim_syscall as an example. */ break; case CB_SYS_open : |