Commit d963ad41 authored by hjk's avatar hjk
Browse files

Debugger: Work around wrong executable names

We currently don't always get proper executables from
the process list, and we don't need them for attaching.

Task-number: QTCREATORBUG-11295

Change-Id: I2fc18df0db85063146ed9dc09351844924e22bdc
Reviewed-by: default avatarChristian Stenger <>
parent bb44eca2
......@@ -670,7 +670,11 @@ class Dumper(DumperBase):
# sysroot has to be set *after* the platform
if self.sysRoot_:
if os.path.isfile(self.executable_): = self.debugger.CreateTarget(self.executable_, None, None, True, error)
else: = self.debugger.CreateTarget(None, None, None, True, error)
state = "inferiorsetupok" if else "inferiorsetupfailed"
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