anjuta r3617 - in trunk: . plugins/debug-manager



Author: sgranjoux
Date: Sun Feb 10 10:05:13 2008
New Revision: 3617
URL: http://svn.gnome.org/viewvc/anjuta?rev=3617&view=rev

Log:
	* plugins/debug-manager/queue.c:
	Fix interrupt command, not working due to previous change


Modified:
   trunk/ChangeLog
   trunk/plugins/debug-manager/queue.c

Modified: trunk/plugins/debug-manager/queue.c
==============================================================================
--- trunk/plugins/debug-manager/queue.c	(original)
+++ trunk/plugins/debug-manager/queue.c	Sun Feb 10 10:05:13 2008
@@ -742,7 +742,7 @@
 			/* 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);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]