add baremetal plugin

This patch adds the baremetal plugin. The baremetal plugin is for
debugging small targets with hardware debugger where the remote linux
plugin does not fit. It adds a new kit and device class of type
baremetal. The device allows entering custom gdb commands. Currently only
qmake builds are possible. To use this with smaller devices without qt
a fake-qt installation is needed. CMake and qbs is currently not
supported.

Change-Id: I86816f897a2e9ed8b95e3184387969cedf8a14d7
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tim Sander
2013-09-12 18:46:35 +02:00
parent ee1bac2ee6
commit 3fbeca21d2
38 changed files with 2873 additions and 3 deletions

View File

@@ -1753,7 +1753,6 @@ void GdbEngine::handleStop2(const GdbMi &data)
reasontr = msgStoppedBySignal(_(meaning), _(name));
}
}
if (reason.isEmpty())
showStatusMessage(msgStopped());
else
@@ -5100,6 +5099,12 @@ void GdbEngine::handleInferiorPrepared()
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
if (!sp.commandsAfterConnect.isEmpty()) {
foreach (QByteArray command, sp.commandsAfterConnect.split('\n')) {
postCommand(command);
}
}
if (debuggerCore()->boolSetting(IntelFlavor)) {
//postCommand("set follow-exec-mode new");
postCommand("set disassembly-flavor intel");