Commit 5036d822 authored by hjk's avatar hjk

Debugger: Fix assignment to 'unsigned int' values

Change-Id: I80bc3f21eec194580adf0e82bd0429e5ae27ad51
Reviewed-by: default avatarUlf Hermann <ulf.hermann@digia.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent cf5ec760
......@@ -4308,10 +4308,8 @@ void GdbEngine::assignValueInDebugger(const WatchData *data,
+ value.toString().toUtf8().toHex();
postCommand(cmd, Discardable, CB(handleVarAssign));
} else {
postCommand("-var-delete assign");
postCommand("-var-create assign * " + expression.toLatin1());
postCommand("-var-assign assign " +
GdbMi::escapeCString(value.toString().toLatin1()),
postCommand("set variable (" + expression.toLatin1() + ")="
+ GdbMi::escapeCString(value.toString().toLatin1()),
Discardable, CB(handleVarAssign));
}
}
......
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