From 6c6400b7b8137340a27c4fc92e3a15dfc27e1f2c Mon Sep 17 00:00:00 2001
From: hjk <qthjk@ovi.com>
Date: Thu, 8 Nov 2012 17:23:47 +0100
Subject: [PATCH] debugger: don't rely on set breakpoint always-inserted on

Change-Id: Ifb80645665508a876683f338b9a022e1502feafa
Reviewed-by: hjk <qthjk@ovi.com>
---
 src/plugins/debugger/gdb/gdbengine.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 52ff66e251d..fde52f9d790 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -4727,10 +4727,10 @@ void GdbEngine::startGdb(const QStringList &args)
     postCommand("set width 0");
     postCommand("set height 0");
 
-    postCommand("set breakpoint always-inserted on", ConsoleCommand);
+    //postCommand("set breakpoint always-inserted on", ConsoleCommand);
     // displaced-stepping does not work in Thumb mode.
     //postCommand("set displaced-stepping on");
-    postCommand("set trust-readonly-sections on", ConsoleCommand);
+    //postCommand("set trust-readonly-sections on", ConsoleCommand);
 
     postCommand("set remotecache on", ConsoleCommand);
     //postCommand("set non-stop on", ConsoleCommand);
-- 
GitLab