diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-03 13:02:06 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:35:46 +0200 |
commit | 76dd9290bd760f363a6f39db06020e61e3f7b345 (patch) | |
tree | 1a8b02cd63290ee2b7da0dce9a2f45d7bdf60bdc /breakpoints.c | |
parent | 74d80544c9ad0b1c5ff94dda639e12ddf1d2ca1c (diff) | |
download | ltrace-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.c | 1 |
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); } |