summaryrefslogtreecommitdiffstats
path: root/tools/runonphone/symbianutils/launcher.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-07-12 02:38:13 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-07-12 02:38:13 (GMT)
commit60354895d4207a3198b2546e7b4dfcfa2051aa07 (patch)
treed8855a64347c3033265c7bc3f280936451608649 /tools/runonphone/symbianutils/launcher.h
parent054049046e89d6e18d800f4728d4927354b640c6 (diff)
parente45b8dceca9c424815c6b08355a95cb34382186c (diff)
downloadQt-60354895d4207a3198b2546e7b4dfcfa2051aa07.zip
Qt-60354895d4207a3198b2546e7b4dfcfa2051aa07.tar.gz
Qt-60354895d4207a3198b2546e7b4dfcfa2051aa07.tar.bz2
Merge remote branch 'oslo-staging-2/4.7' into qtbug-11996
Diffstat (limited to 'tools/runonphone/symbianutils/launcher.h')
-rw-r--r--tools/runonphone/symbianutils/launcher.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/runonphone/symbianutils/launcher.h b/tools/runonphone/symbianutils/launcher.h
index 6db69d0..230a122 100644
--- a/tools/runonphone/symbianutils/launcher.h
+++ b/tools/runonphone/symbianutils/launcher.h
@@ -43,6 +43,7 @@
#define LAUNCHER_H
#include "trkdevice.h"
+#include "trkutils.h"
#include <QtCore/QObject>
#include <QtCore/QVariant>
@@ -122,6 +123,9 @@ public:
// Create Trk message to start a process.
static QByteArray startProcessMessage(const QString &executable,
const QStringList &arguments);
+ // Create Trk message to read memory
+ static QByteArray readMemoryMessage(uint pid, uint tid, uint from, uint len);
+ static QByteArray readRegistersMessage(uint pid, uint tid);
// Parse a TrkNotifyStopped message
static bool parseNotifyStopped(const QByteArray &a,
uint *pid, uint *tid, uint *address,
@@ -149,12 +153,18 @@ signals:
void copyProgress(int percent);
void stateChanged(int);
void processStopped(uint pc, uint pid, uint tid, const QString& reason);
+ void processResumed(uint pid, uint tid);
+ void libraryLoaded(const trk::Library &lib);
+ void libraryUnloaded(const trk::Library &lib);
+ void registersAndCallStackReadComplete(const QList<uint>& registers, const QByteArray& stack);
// Emitted by the destructor, for releasing devices of SymbianDeviceManager by name
void destroyed(const QString &serverName);
public slots:
void terminate();
void resumeProcess(uint pid, uint tid);
+ //can be used to obtain traceback after a breakpoint / exception
+ void getRegistersAndCallStack(uint pid, uint tid);
private slots:
void handleResult(const trk::TrkResult &data);
@@ -182,6 +192,8 @@ private:
void handleStop(const TrkResult &result);
void handleSupportMask(const TrkResult &result);
void handleTrkVersion(const TrkResult &result);
+ void handleReadRegisters(const TrkResult &result);
+ void handleReadStack(const TrkResult &result);
void copyFileToRemote();
void copyFileFromRemote();