summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-09-03 01:41:31 +0000
committerEd Maste <emaste@freebsd.org>2017-09-03 01:41:31 +0000
commit207184f3457a937b1f24b475cef4c10a2c4ab35c (patch)
tree6f510bf123239dd14001bddbb4b76d925f759e0a /lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py
parent8a6bab78f68fefaa5fb422bd411c9dfad03ec320 (diff)
downloadbcm5719-llvm-207184f3457a937b1f24b475cef4c10a2c4ab35c.tar.gz
bcm5719-llvm-207184f3457a937b1f24b475cef4c10a2c4ab35c.zip
FreeBSD: attach to pid from different cwd
attach by pid worked when running from the directory from which the target was launched, but failed from a different directory. Use the kern.proc.pathname sysctl to locate the target, falling back to the original case of the target's argv[0] if that fails. Based on a patch from Vignesh Balu. Differential Revision: https://reviews.llvm.org/D32271 llvm-svn: 312430
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud