[anjuta] dbg: Allow to send pause program several times



commit ad0bdec6ac8e28fa616cad0ec7ceb87eaea52782
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Mon Jun 21 21:46:24 2010 +0200

    dbg: Allow to send pause program several times

 plugins/debug-manager/command.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/debug-manager/command.c b/plugins/debug-manager/command.c
index 7e34c53..92c9a78 100644
--- a/plugins/debug-manager/command.c
+++ b/plugins/debug-manager/command.c
@@ -286,8 +286,11 @@ typedef enum
 	DMA_UPDATE_VARIABLE_COMMAND =
 	    UPDATE_VARIABLE | CANCEL_IF_PROGRAM_RUNNING |
 		NEED_PROGRAM_STOPPED | NEED_PROGRAM_RUNNING,
+	/* DMA_INTERRUPT_COMMAND doesn't automatically go in stop-program state
+	 * because sometimes it doesn't work. I don't know if it comes from anjuta,
+	 * anjuta-launcher, vte or gdb */
 	DMA_INTERRUPT_COMMAND =
-		INTERRUPT_COMMAND | STOP_PROGRAM |
+		INTERRUPT_COMMAND |
 		ASYNCHRONOUS | NEED_PROGRAM_RUNNING,
 } DmaDebuggerCommand;
 



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