From c51e7aa7beeb2ed0b456d3a26de6d8be856bf8d0 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Tue, 24 Jan 2012 20:03:50 +0100 Subject: [PATCH] debugger: set breakpoint always-inserted and trust-readonly-sections on Change-Id: I13eec92d703e9bb6478f6cc2ba8a125bdd0e3d3e Reviewed-by: hjk <qthjk@ovi.com> --- src/plugins/debugger/gdb/gdbengine.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 338ea71c33c..b249004b1cf 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -4653,6 +4653,11 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &settingsIdHint) postCommand("pwd"); postCommand("set width 0"); postCommand("set height 0"); + + postCommand("set breakpoint always-inserted on"); + // displaced-stepping does not work in Thumb mode. + //postCommand("set displaced-stepping on"); + postCommand("set trust-readonly-sections on"); postCommand("set auto-solib-add on"); if (0 && debuggerCore()->boolSetting(TargetAsync)) { -- GitLab