Debugger[CDB]: Add memory editing.

Add infrastructure for custom special stops with data.
This commit is contained in:
Friedemann Kleint
2011-02-28 14:33:35 +01:00
parent 6061f4bb48
commit e8d12ae464
4 changed files with 65 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ BreakpointId parseBreakPoint(const GdbMi &gdbmi, BreakpointResponse *r, QString
QByteArray fixCdbIntegerValue(QByteArray t, bool stripLeadingZeros = false, int *basePtr = 0);
// Convert a CDB integer value into quint64 or int64
QVariant cdbIntegerValue(const QByteArray &t);
// Write memory (f ...).
QByteArray cdbWriteMemoryCommand(quint64 addr, const QByteArray &data);
QString debugByteArray(const QByteArray &a);
QString StringFromBase64EncodedUtf16(const QByteArray &a);