diff options
author | Petr Machata <pmachata@redhat.com> | 2012-02-07 23:50:18 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 00:54:04 +0200 |
commit | 17bcdd38264a9adc161d6cdee834969efc803f57 (patch) | |
tree | d567ed9d26217fe8d42d62523cbccf00e8fa3a54 | |
parent | bc37326ace5c70e57928c000162cffbcca9afb77 (diff) | |
download | ltrace-17bcdd38264a9adc161d6cdee834969efc803f57.tar.gz |
Remove another bit of PPC-related crud
- We now always enable breakpoints after dynamic linker is done
-rw-r--r-- | breakpoints.c | 16 |
1 files changed, 0 insertions, 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) { |