]> granicus.if.org Git - strace/commit
syscall: rework subcall decoding on mips o32
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 24 Dec 2017 15:07:10 +0000 (15:07 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 24 Dec 2017 15:07:10 +0000 (15:07 +0000)
commit1f0803c3661c319c82193194b78ff918739e682f
tree118dcdc1d9e4f1482e46a8f4fa03cb13976d8e36
parent660f100099db57d2c494c6720ae52dd18d6592be
syscall: rework subcall decoding on mips o32

Move syscall subcall handling to the same switch statement that
handles ipc and socket subcalls.

* linux/mips/syscallent-o32.h [LINUX_MIPSO32] (SYS_syscall_subcall):
Define.
* syscall.c (decode_mips_subcall): Rename to decode_syscall_subcall,
conditionalize on SYS_syscall_subcall instead of LINUX_MIPSO32.
(syscall_entering_decode) [LINUX_MIPSO32]: Remove.
(syscall_entering_decode) [SYS_syscall_subcall]: Handle SEN_syscall
using decode_syscall_subcall.
linux/mips/syscallent-o32.h
syscall.c