qemu/linux-user/arm/target_ptrace.h
Richard Henderson db58f1667e linux-user/arm: Create target_ptrace.h
Move the target_pt_regs structure from target_syscall.h.
Replace the array with proper structure fields.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2025-08-30 07:04:03 +10:00

17 lines
346 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef ARM_TARGET_PTRACE_H
#define ARM_TARGET_PTRACE_H
/*
* See arch/arm/include/uapi/asm/ptrace.h.
* Instead of an array and ARM_xx defines, use proper fields.
*/
struct target_pt_regs {
abi_ulong regs[16];
abi_ulong cpsr;
abi_ulong orig_r0;
};
#endif /* ARM_TARGET_PTRACE_H */