Skip to content

Commit 11df1cf

Browse files
committed
Renamed step_or_sysemu to sysemu_step
1 parent f4ae76c commit 11df1cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/ptrace/linux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ pub fn step<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> {
432432
/// In case the tracee is stopped at a syscall, the syscall will not be executed.
433433
/// Optionally, the signal specified by `sig` is delivered to the tracee upon continuation.
434434
#[cfg(all(target_os = "linux", target_env = "gnu", any(target_arch = "x86", target_arch = "x86_64")))]
435-
pub fn step_or_sysemu<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> {
435+
pub fn sysemu_step<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> {
436436
let data = match sig.into() {
437437
Some(s) => s as i32 as *mut c_void,
438438
None => ptr::null_mut(),

0 commit comments

Comments
 (0)