From 53ccad61234be9e597ab1265c8fa4e606fa86adc Mon Sep 17 00:00:00 2001 From: sgranjoux Date: Sun, 10 Feb 2008 10:05:13 +0000 Subject: [PATCH] * plugins/debug-manager/queue.c: Fix interrupt command, not working due to previous change git-svn-id: http://svn.gnome.org/svn/anjuta/trunk@3617 1dbfb86a-d425-0410-a06b-cb591aac69f6 --- ChangeLog | 5 +++++ plugins/debug-manager/queue.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 37ebf0d2..536c6cc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-10 Sébastien Granjoux + + * plugins/debug-manager/queue.c: + Fix interrupt command, not working due to previous change + 2008-02-10 Johannes Schmid * src/Makefile.am: diff --git a/plugins/debug-manager/queue.c b/plugins/debug-manager/queue.c index 9b315f1f..07a466db 100644 --- a/plugins/debug-manager/queue.c +++ b/plugins/debug-manager/queue.c @@ -742,7 +742,7 @@ dma_debugger_queue_append (DmaDebuggerQueue *self, DmaQueueCommand *cmd) /* We must not interrupt command having callback, as the command * will be removed, the callback when emitted will be redirected to * the handler of the next command */ - if ((state == IANJUTA_DEBUGGER_STOPPED) || (state == IANJUTA_DEBUGGER_PROGRAM_RUNNING)) + if ((state == IANJUTA_DEBUGGER_STOPPED) || (self->debugger_state == IANJUTA_DEBUGGER_PROGRAM_RUNNING)) { dma_debugger_queue_complete (self, self->debugger_state); } -- 2.11.4.GIT