From 238f5be0234abd97403d95c3c29a7c5597a03813 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Wed, 10 Feb 2010 10:18:25 +0100 Subject: [PATCH] debugger: fix call to "set trust-readonly-sections on". Does not appear to help, though. --- src/plugins/debugger/gdb/trkgdbadapter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/debugger/gdb/trkgdbadapter.cpp b/src/plugins/debugger/gdb/trkgdbadapter.cpp index 9787c7a8d3e..9f90beadc14 100644 --- a/src/plugins/debugger/gdb/trkgdbadapter.cpp +++ b/src/plugins/debugger/gdb/trkgdbadapter.cpp @@ -1843,9 +1843,10 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result) } m_engine->postCommand("set breakpoint always-inserted on"); m_engine->postCommand("set breakpoint auto-hw on"); - m_engine->postCommand("set trust-readonly-sections"); // No difference? + m_engine->postCommand("set trust-readonly-sections on"); // No difference? m_engine->postCommand("set displaced-stepping on"); // No difference? - //m_engine->postCommand("set mem inaccessible-by-default"); + 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 0x70000000 0x80000000 cache ro"); // FIXME: replace with stack-cache for newer gdb? -- GitLab