Support tracing PPC32 processes with both BSS and secure PLTs
- only entry breakpoint is realized at the beginning
- when it's hit, it's deleted, and all enabled breakpoints are realized
- all PLTs are LS_TOPLT_EXEC. The difference is in the way the PLT entry
address is computed
diff --git a/proc.c b/proc.c
index 389c445..a79ae2b 100644
--- a/proc.c
+++ b/proc.c
@@ -483,8 +483,9 @@
struct Process *proc = data;
fprintf(stderr, " %s@%p\n", libsym->name, libsym->enter_addr);
- if (insert_breakpoint(proc, libsym->enter_addr, libsym, 1) == NULL)
+ if (insert_breakpoint(proc, libsym->enter_addr, libsym, 0) == NULL) {
return CBS_STOP;
+ }
return CBS_CONT;
}