From 971409b4edb933abbfa5562fbef0b861005656ca Mon Sep 17 00:00:00 2001 From: fcasal Date: Thu, 19 Jul 2018 13:57:47 +0100 Subject: [PATCH] Hack to fix continue until commands (#586) --- src/Cutter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Cutter.cpp b/src/Cutter.cpp index 05e789d8..0e5a14d9 100644 --- a/src/Cutter.cpp +++ b/src/Cutter.cpp @@ -774,7 +774,9 @@ void CutterCore::startDebug() if (!currentlyDebugging) { offsetPriorDebugging = getOffset(); } - cmd("ood"); + // FIXME: we do a 'ds' here since otherwise the continue until commands + // sometimes do not work in r2. + cmd("ood; ds"); emit registersChanged(); if (!currentlyDebugging) { setConfig("asm.flags", false);