forked from qt-creator/qt-creator
Debugger: split editor related code off watchutils.{h,cpp}
This is now in sourceutils.{h,cpp} to make watchutils.{h,cpp}
better acessible to the debugger auto-tests.
Change-Id: Ie87e715bc7018ca190a460c37dfd19bc897059f0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
#include "disassembleragent.h"
|
||||
#include "gdboptionspage.h"
|
||||
#include "memoryagent.h"
|
||||
#include "sourceutils.h"
|
||||
#include "watchutils.h"
|
||||
|
||||
#include "breakhandler.h"
|
||||
@@ -5448,6 +5449,14 @@ void GdbEngine::interruptLocalInferior(qint64 pid)
|
||||
}
|
||||
}
|
||||
|
||||
QByteArray GdbEngine::dotEscape(QByteArray str)
|
||||
{
|
||||
str.replace(' ', '.');
|
||||
str.replace('\\', '.');
|
||||
str.replace('/', '.');
|
||||
return str;
|
||||
}
|
||||
|
||||
//
|
||||
// Factory
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user