aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-03-29 18:33:03 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:35:44 +0200
commit12affff3c88731a0880690442485494e540f7a58 (patch)
treea8b97e7c3321fa2af2461537a12aec2d2dd190e6 /sysdeps
parent9a04d0ef18b9d019b87ba10adee27f41980b286f (diff)
downloadltrace-12affff3c88731a0880690442485494e540f7a58.tar.gz
Make several breakpoint callback names more systematic
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/linux-gnu/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/linux-gnu/proc.c b/sysdeps/linux-gnu/proc.c
index b533689..8cea99c 100644
--- a/sysdeps/linux-gnu/proc.c
+++ b/sysdeps/linux-gnu/proc.c
@@ -362,7 +362,7 @@ load_debug_struct(Process *proc) {
}
static void
-rdebug_callback_hit(struct breakpoint *bp, struct Process *proc)
+rdebug_bp_on_hit(struct breakpoint *bp, struct Process *proc)
{
fprintf(stderr, "======= HIT\n");
struct r_debug *dbg = NULL;
@@ -427,7 +427,7 @@ linkmap_init(struct Process *proc, target_address_t dyn_addr)
}
struct breakpoint *rdebug_bp = insert_breakpoint(proc, addr, NULL);
static struct bp_callbacks rdebug_callbacks = {
- .on_hit = rdebug_callback_hit,
+ .on_hit = rdebug_bp_on_hit,
};
rdebug_bp->cbs = &rdebug_callbacks;