forked from qt-creator/qt-creator
debugger: increase accessible memory range in the trk adapter
needed after changing the default to "inaccessible"
This commit is contained in:
@@ -1847,7 +1847,7 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
|
||||
m_engine->postCommand("set displaced-stepping on"); // No difference?
|
||||
m_engine->postCommand("set remotelogfile /tmp/gdb-remotelog");
|
||||
m_engine->postCommand("set mem inaccessible-by-default");
|
||||
m_engine->postCommand("mem 0x00400000 0x00800000 cache");
|
||||
m_engine->postCommand("mem 0x00400000 0x70000000 cache");
|
||||
m_engine->postCommand("mem 0x70000000 0x80000000 cache ro");
|
||||
// FIXME: replace with stack-cache for newer gdb?
|
||||
m_engine->postCommand("set remotecache on"); // "info dcache" to check
|
||||
|
||||
Reference in New Issue
Block a user