diff --git a/src/sys/ptrace/linux.rs b/src/sys/ptrace/linux.rs index 9d287f80ad..8d1dd16e5d 100644 --- a/src/sys/ptrace/linux.rs +++ b/src/sys/ptrace/linux.rs @@ -432,7 +432,7 @@ pub fn step>>(pid: Pid, sig: T) -> Result<()> { /// In case the tracee is stopped at a syscall, the syscall will not be executed. /// Optionally, the signal specified by `sig` is delivered to the tracee upon continuation. #[cfg(all(target_os = "linux", target_env = "gnu", any(target_arch = "x86", target_arch = "x86_64")))] -pub fn step_or_sysemu>>(pid: Pid, sig: T) -> Result<()> { +pub fn sysemu_step>>(pid: Pid, sig: T) -> Result<()> { let data = match sig.into() { Some(s) => s as i32 as *mut c_void, None => ptr::null_mut(),