Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 918455
Collapse All | Expand All

(-)ltrace-5cffc0d2134f697fbac8627ec5b5f0085cd47c8a/sysdeps/linux-gnu/ppc/ptrace.h.old (+1 lines)
Lines 19-21 Link Here
19
 */
19
 */
20
20
21
#include <sys/ptrace.h>
21
#include <sys/ptrace.h>
22
#include <asm/ptrace.h>
(-)ltrace-5cffc0d2134f697fbac8627ec5b5f0085cd47c8a/sysdeps/linux-gnu/ppc/regs.c.old (-2 / +1 lines)
Lines 27-33 Link Here
27
#include <sys/ptrace.h>
27
#include <sys/ptrace.h>
28
#include <asm/ptrace.h>
28
#include <asm/ptrace.h>
29
#include <errno.h>
29
#include <errno.h>
30
#include <error.h>
31
30
32
#include "proc.h"
31
#include "proc.h"
33
#include "common.h"
32
#include "common.h"
Lines 50-56 Link Here
50
set_instruction_pointer(struct process *proc, void *addr)
49
set_instruction_pointer(struct process *proc, void *addr)
51
{
50
{
52
	if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 0)
51
	if (ptrace(PTRACE_POKEUSER, proc->pid, sizeof(long)*PT_NIP, addr) != 0)
53
		error(0, errno, "set_instruction_pointer");
52
		perror("set_instruction_pointer");
54
}
53
}
55
54
56
void *
55
void *

Return to bug 918455