These features have existed since Linux 2.6.14 and can be considered widely available at this point. Also drop the backward compatibility code for PTRACE_SETOPTIONS. Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> ---- v2: * Continue to define PTRACE_SYSEMU_SINGLESTEP as glibc only added it in version 2.27. Signed-off-by: Richard Weinberger <richard@nod.at>
15 lines
362 B
C
15 lines
362 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
*/
|
|
|
|
#ifndef __PTRACE_USER_H__
|
|
#define __PTRACE_USER_H__
|
|
|
|
#include <sys/ptrace.h>
|
|
#include <sysdep/ptrace_user.h>
|
|
|
|
extern int ptrace_getregs(long pid, unsigned long *regs_out);
|
|
extern int ptrace_setregs(long pid, unsigned long *regs_in);
|
|
|
|
#endif
|