diff options
author | Jarek Kobus <[email protected]> | 2024-05-16 14:07:59 +0200 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2024-05-22 09:13:41 +0000 |
commit | 982ad2424352f07877fb0a0af63df3790ebe165d (patch) | |
tree | d6114a48b392e4399526aea78e0fb9637a244662 /src/plugins/debugger/cdb | |
parent | d857af4cec9d1e3651f6c4759066ae953cd730c0 (diff) |
CommandLine: Reuse new c'tor
Change-Id: Id154881b4f5d8c488e5c1f5e0f843d36bf838759
Reviewed-by: Orgad Shaneh <[email protected]>
Reviewed-by: <[email protected]>
Diffstat (limited to 'src/plugins/debugger/cdb')
-rw-r--r-- | src/plugins/debugger/cdb/cdbengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 24386788dbf..432205ff027 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -282,7 +282,7 @@ void CdbEngine::setupEngine() DebuggerRunParameters sp = runParameters(); if (terminal()) { m_effectiveStartMode = AttachToLocalProcess; - sp.inferior.command = CommandLine(); + sp.inferior.command = {}; sp.attachPID = ProcessHandle(terminal()->applicationPid()); sp.startMode = AttachToLocalProcess; sp.useTerminal = false; // Force no terminal. |