]> granicus.if.org Git - strace/commit
Reorganize get_regs code, hopefully without functional changes
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 18 Mar 2013 10:17:14 +0000 (10:17 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 18 Mar 2013 12:01:21 +0000 (12:01 +0000)
commitb787b10e167bd14c77d005f26af31e1d23e81c2b
tree3d95b1332f2fe157b64503aeeea238881297c0dc
parentfaa177e3d9da5f2d93dff20af19622196dced559
Reorganize get_regs code, hopefully without functional changes

* syscall.c [I386 || ARM || OR1K || METAG] (ARCH_REGS_FOR_GETREGSET):
New macro.
(get_regset): Implement for AARCH64, METAG, OR1K and X32.
(get_regs) [AARCH64 || METAG || OR1K || X32]: Use it.
syscall.c