Commit c35ad8c6 authored by hjk's avatar hjk
Browse files

Debugger: Fix regression in core file creation.

Introduced with 6dd3be2f

The gcore commands accepts files with spaces, but only unquoted.

Change-Id: Iac9a43f4db24252faf4fe4aac5ab0ced3dcb3c3f
Reviewed-by: default avatarOrgad Shaneh <>
parent 89674e49
......@@ -3494,7 +3494,8 @@ void GdbEngine::createSnapshot()
if ( {
fileName = tf.fileName();
postCommand("gcore \"" + fileName.toLocal8Bit() + '"',
// This must not be quoted, it doesn't work otherwise.
postCommand("gcore " + fileName.toLocal8Bit(),
NeedsStop|ConsoleCommand, CB(handleMakeSnapshot), fileName);
} else {
showMessageBox(QMessageBox::Critical, tr("Snapshot Creation Error"),
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