aboutsummaryrefslogtreecommitdiff
path: root/breakpoints.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-03 13:02:06 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:35:46 +0200
commit76dd9290bd760f363a6f39db06020e61e3f7b345 (patch)
tree1a8b02cd63290ee2b7da0dce9a2f45d7bdf60bdc /breakpoints.c
parent74d80544c9ad0b1c5ff94dda639e12ddf1d2ca1c (diff)
downloadltrace-76dd9290bd760f363a6f39db06020e61e3f7b345.tar.gz
Add proc.fixed_libs
- use it to determine whether to turn on breakpoints in added libraries if they were added after _start is hit
Diffstat (limited to 'breakpoints.c')
-rw-r--r--breakpoints.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/breakpoints.c b/breakpoints.c
index 5a68d89..8839714 100644
--- a/breakpoints.c
+++ b/breakpoints.c
@@ -310,6 +310,7 @@ entry_breakpoint_on_hit(struct breakpoint *a, struct Process *proc)
return;
delete_breakpoint(proc, bp->super.addr);
dict_apply_to_all(proc->breakpoints, turn_on_breakpoint, proc);
+ proc->fixed_libs = proc->libraries;
linkmap_init(proc, bp->dyn_addr);
}