aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-02-07 23:50:18 +0100
committerPetr Machata <pmachata@redhat.com>2012-04-19 00:54:04 +0200
commit17bcdd38264a9adc161d6cdee834969efc803f57 (patch)
treed567ed9d26217fe8d42d62523cbccf00e8fa3a54
parentbc37326ace5c70e57928c000162cffbcca9afb77 (diff)
downloadltrace-17bcdd38264a9adc161d6cdee834969efc803f57.tar.gz
Remove another bit of PPC-related crud
- We now always enable breakpoints after dynamic linker is done
-rw-r--r--breakpoints.c16
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) {