Commit 70c47334 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer Committed by Lasse Holmstedt
Browse files

Updated the Qt src/build path to be Qt version independent

parent abdd404f
...@@ -3724,7 +3724,7 @@ void GdbEngine::handleFetchDisassemblerByLine(const GdbResponse &response) ...@@ -3724,7 +3724,7 @@ void GdbEngine::handleFetchDisassemblerByLine(const GdbResponse &response)
} else { } else {
// Can happen e.g. for initializer list on symbian/rvct where // Can happen e.g. for initializer list on symbian/rvct where
// we get a file name and line number but where the 'fully // we get a file name and line number but where the 'fully
// disassembled function' does not cover the code in the // disassembled function' does not cover the code in the
// initializer list. Fall back needed: // initializer list. Fall back needed:
//fetchDisassemblerByAddress(ac.agent, true); //fetchDisassemblerByAddress(ac.agent, true);
fetchDisassemblerByCli(ac.agent, true); fetchDisassemblerByCli(ac.agent, true);
...@@ -3733,7 +3733,7 @@ void GdbEngine::handleFetchDisassemblerByLine(const GdbResponse &response) ...@@ -3733,7 +3733,7 @@ void GdbEngine::handleFetchDisassemblerByLine(const GdbResponse &response)
} else { } else {
// 536^error,msg="mi_cmd_disassemble: Invalid line number" // 536^error,msg="mi_cmd_disassemble: Invalid line number"
QByteArray msg = response.data.findChild("msg").data(); QByteArray msg = response.data.findChild("msg").data();
if (msg == "mi_cmd_disassemble: Invalid line number" if (msg == "mi_cmd_disassemble: Invalid line number"
|| msg.startsWith("Cannot access memory at address")) || msg.startsWith("Cannot access memory at address"))
fetchDisassemblerByAddress(ac.agent, true); fetchDisassemblerByAddress(ac.agent, true);
else else
......
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