diff options
| author | hjk <hjk@qt.io> | 2017-03-01 09:35:28 +0100 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2017-03-01 11:57:48 +0000 |
| commit | 329db5f4cc1fced14aeccbd2f8f580ec8c2d26a3 (patch) | |
| tree | b4b19e6d3cc50386592a08633a8056e07aa32ca0 /src/plugins/debugger/debuggerprotocol.cpp | |
| parent | c168ba9f11318455eebfeaeba9595783f7897c03 (diff) | |
| download | qt-creator-329db5f4cc1fced14aeccbd2f8f580ec8c2d26a3.tar.gz | |
Debugger: Use ProcessHandle in notifyInferiorPid()
Change-Id: Idcb6819b64964b6aa0e72d182cc628feba37ba55
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerprotocol.cpp')
| -rw-r--r-- | src/plugins/debugger/debuggerprotocol.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp index 2ce53c443c..ba28994589 100644 --- a/src/plugins/debugger/debuggerprotocol.cpp +++ b/src/plugins/debugger/debuggerprotocol.cpp @@ -36,6 +36,8 @@ #include <ctype.h> +#include <utils/processhandle.h> + #define QTC_ASSERT_STRINGIFY_HELPER(x) #x #define QTC_ASSERT_STRINGIFY(x) QTC_ASSERT_STRINGIFY_HELPER(x) #define QTC_ASSERT_STRING(cond) qDebug("SOFT ASSERT: \"" cond"\" in file " __FILE__ ", line " QTC_ASSERT_STRINGIFY(__LINE__)) @@ -385,6 +387,11 @@ qulonglong GdbMi::toAddress() const return ba.toULongLong(0, 0); } +Utils::ProcessHandle GdbMi::toProcessHandle() const +{ + return Utils::ProcessHandle(m_data.toULongLong()); +} + ////////////////////////////////////////////////////////////////////////////////// // // GdbResponse |
