--- ltrace-5cffc0d2134f697fbac8627ec5b5f0085cd47c8a/sysdeps/linux-gnu/ppc/ptrace.h.old 2022-12-16 07:05:22.000000000 +0000 +++ ltrace-5cffc0d2134f697fbac8627ec5b5f0085cd47c8a/sysdeps/linux-gnu/ppc/ptrace.h 2023-11-25 05:34:18.007807608 +0000 @@ -19,3 +19,4 @@ */ #include +#include --- ltrace-5cffc0d2134f697fbac8627ec5b5f0085cd47c8a/sysdeps/linux-gnu/ppc/regs.c.old 2022-12-16 07:05:22.000000000 +0000 +++ ltrace-5cffc0d2134f697fbac8627ec5b5f0085cd47c8a/sysdeps/linux-gnu/ppc/regs.c 2023-11-25 05:34:03.549365920 +0000 @@ -27,7 +27,6 @@ #include #include #include -#include #include "proc.h" #include "common.h" @@ -50,7 +49,7 @@ set_instruction_pointer(struct process *proc, void *addr) { if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 0) - error(0, errno, "set_instruction_pointer"); + perror("set_instruction_pointer"); } void *