Closed okeuday closed 2 years ago
Requires using the Linux kernel header file ptrace.h. Allows struct pt_regs to be used for accessing the nip (Next Instruction Pointer) register value.
This fixes a compilation problem at https://github.com/bombela/backward-cpp/blob/872350775655ad610f66aea325c319950daa7c95/backward.hpp#L4225 on Alpine Linux.
Requires using the Linux kernel header file ptrace.h. Allows struct pt_regs to be used for accessing the nip (Next Instruction Pointer) register value.
This fixes a compilation problem at https://github.com/bombela/backward-cpp/blob/872350775655ad610f66aea325c319950daa7c95/backward.hpp#L4225 on Alpine Linux.