Commit f5474a35 authored by Christian Stenger's avatar Christian Stenger

Squish: Fix detection of expected debuggers on Linux and Mac

Change-Id: Ie3f1c291e9ba4646fb948bf30d38d8db9af31886
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 933fd512
......@@ -215,8 +215,8 @@ def __getExpectedDebuggers__():
result = []
if platform.system() in ('Microsoft', 'Windows'):
result.extend(__getCDB__())
debuggers = ["gdb", "lldb"]
result.extend(filter(None, map(which, debuggers)))
for debugger in ["gdb", "lldb"]:
result.extend(findAllFilesInPATH(debugger))
if platform.system() == 'Linux':
result.extend(findAllFilesInPATH("lldb-*"))
if platform.system() == 'Darwin':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment