debugger: assume memory is inaccessible by default when using trk

This commit is contained in:
hjk
2010-02-04 14:20:51 +01:00
parent f5f7942f7d
commit 311ab94fda

View File

@@ -1852,8 +1852,9 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
m_engine->postCommand("set breakpoint auto-hw off");
m_engine->postCommand("set trust-readonly-sections"); // No difference?
m_engine->postCommand("set displaced-stepping on"); // No difference?
m_engine->postCommand("set mem inaccessible-by-default");
m_engine->postCommand("mem 0x00400000 0x00800000 cache");
m_engine->postCommand("mem 0x78000000 0x88000000 cache ro");
m_engine->postCommand("mem 0x78000000 0x80000000 cache ro");
// FIXME: replace with stack-cache for newer gdb?
m_engine->postCommand("set remotecache on"); // "info dcache" to check
m_engine->postCommand("target remote " + gdbServerName().toLatin1(),