From 17bcdd38264a9adc161d6cdee834969efc803f57 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Tue, 7 Feb 2012 23:50:18 +0100 Subject: Remove another bit of PPC-related crud - We now always enable breakpoints after dynamic linker is done --- breakpoints.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/breakpoints.c b/breakpoints.c index 6016975..5713fe4 100644 --- a/breakpoints.c +++ b/breakpoints.c @@ -124,22 +124,6 @@ void enable_all_breakpoints(Process *proc) { debug(DEBUG_FUNCTION, "enable_all_breakpoints(pid=%d)", proc->pid); -#ifdef __powerpc__ - unsigned long a; - - /* - * PPC HACK! (XXX FIXME TODO) - * If the dynamic linker hasn't populated the PLT then - * dont enable the breakpoints - */ - if (options.libcalls) { - a = ptrace(PTRACE_PEEKTEXT, proc->pid, - sym2addr(proc, proc->list_of_symbols), - 0); - if (a == 0x0) - return; - } -#endif debug(1, "Enabling breakpoints for pid %u...", proc->pid); if (proc->breakpoints) { -- cgit v1.2.3