Sign in
android
/
platform
/
external
/
strace
/
9b3c77c
/
.
/
linux
/
sh64
/
get_syscall_result.c
blob: 93faf3dfcdec13086c5f65d1adec092129b2d206 [
file
] [
log
] [
blame
]
static
int
get_syscall_result_regs
(
struct
tcb
*
tcp
)
{
/* ABI defines result returned in r9 */
return
upeek
(
tcp
->
pid
,
REG_GENERAL
(
9
),
(
long
*)&
sh64_r9
)
<
0
?
-
1
:
0
;
}