summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-01-09 23:41:50 +0100
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:24 +0900
commit159fe9b8655a81b1e41f8039e58c0e2cbbd08929 (patch)
tree83584d9f32951afacd3bc8a1729c3830ac44c32d /proc.h
parent3da1b63c19adf0300546d2ead50149dac6126323 (diff)
downloadltrace-159fe9b8655a81b1e41f8039e58c0e2cbbd08929.tar.gz
ltrace-159fe9b8655a81b1e41f8039e58c0e2cbbd08929.tar.bz2
ltrace-159fe9b8655a81b1e41f8039e58c0e2cbbd08929.zip
Fix a problem in tracing across fork on PPC64
In order to avoid single-stepping through large portions of the dynamic linker, ltrace remembers at which address the instruction that resolved a PLT slot is. It then puts a breakpoint to this address so that it can fast-forward to that address next time it needs to catch a PLT slot being resolved. When a process is cloned, the pointer to this breakpoint is simply copied over to the new process, instead of being looked up in the new process structures. This patches fixes this.
Diffstat (limited to 'proc.h')
0 files changed, 0 insertions, 0 deletions