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

@@ -68,6 +68,7 @@ public:
qmlServerAddress(QLatin1String("127.0.0.1")),
qmlServerPort(Constants::QML_DEFAULT_DEBUG_SERVER_PORT),
remoteSetupNeeded(false),
useContinueInsteadOfRun(false),
startMode(NoStartMode),
closeMode(KillAtClose),
testReceiver(0),
@@ -123,6 +124,10 @@ public:
bool remoteSetupNeeded;
QMap<QString, QString> sourcePathMap;
// Used by baremetal plugin
bool useContinueInsteadOfRun; // if connected to a hw debugger run is not possible but continue is used
QByteArray commandsAfterConnect; // additional commands to post after connection to debug target
QString dumperLibrary;
QStringList solibSearchPath;
QStringList dumperLibraryLocations;