Shuffle breakpoint functions around
diff --git a/sysdeps/linux-gnu/ppc/plt.c b/sysdeps/linux-gnu/ppc/plt.c
index d346eb6..a54632d 100644
--- a/sysdeps/linux-gnu/ppc/plt.c
+++ b/sysdeps/linux-gnu/ppc/plt.c
@@ -598,7 +598,9 @@
}
}
-/* For some symbol types, we need to set up custom callbacks. */
+/* For some symbol types, we need to set up custom callbacks. XXX we
+ * don't need PROC here, we can store the data in BP if it is of
+ * interest to us. */
int
arch_breakpoint_init(struct Process *proc, struct breakpoint *bp)
{
diff --git a/sysdeps/linux-gnu/proc.c b/sysdeps/linux-gnu/proc.c
index 1e3c86d..b533689 100644
--- a/sysdeps/linux-gnu/proc.c
+++ b/sysdeps/linux-gnu/proc.c
@@ -393,11 +393,9 @@
return;
}
-void *dyn_addr;
int
-linkmap_init(struct Process *proc)
+linkmap_init(struct Process *proc, target_address_t dyn_addr)
{
- return 0;
void *dbg_addr = NULL;
struct r_debug *rdbg = NULL;
//struct cb_data data;