[wayland] Allow debugging kwin with lldb
Summary: LLDB is a debugger originating from the LLVM project. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23544
This commit is contained in:
parent
3e2000bba6
commit
6d792de74b
1 changed files with 2 additions and 1 deletions
|
@ -312,7 +312,8 @@ static void disablePtrace()
|
|||
const QFileInfo parent(QStringLiteral("/proc/%1/exe").arg(getppid()));
|
||||
if (parent.isSymLink() &&
|
||||
(parent.symLinkTarget().endsWith(QLatin1String("/gdb")) ||
|
||||
parent.symLinkTarget().endsWith(QLatin1String("/gdbserver")))) {
|
||||
parent.symLinkTarget().endsWith(QLatin1String("/gdbserver")) ||
|
||||
parent.symLinkTarget().endsWith(QLatin1String("/lldb-server")))) {
|
||||
// debugger, don't adjust
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue