anjuta r3584 - in trunk: . plugins/debug-manager
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3584 - in trunk: . plugins/debug-manager
- Date: Sat, 2 Feb 2008 21:07:48 +0000 (GMT)
Author: sgranjoux
Date: Sat Feb 2 21:07:48 2008
New Revision: 3584
URL: http://svn.gnome.org/viewvc/anjuta?rev=3584&view=rev
Log:
* plugins/debug-manager/queue.c:
Debugger Local, Stack and Thread windows were missing due to
the 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 Sat Feb 2 21:07:48 2008
@@ -197,19 +197,29 @@
self->debugger_state = state;
break;
case IANJUTA_DEBUGGER_PROGRAM_STOPPED:
- if (!self->stop_on_sharedlib)
+ if (self->debugger_state < IANJUTA_DEBUGGER_PROGRAM_STOPPED)
{
- signal = PROGRAM_STOPPED_SIGNAL;
+ signal = PROGRAM_STARTED_SIGNAL;
+ /* Emit a debugger stopped after program started */
+ self->debugger_state = IANJUTA_DEBUGGER_PROGRAM_RUNNING;
+ break;
}
- else if (self->debugger_state < IANJUTA_DEBUGGER_PROGRAM_STOPPED)
+ if (!self->stop_on_sharedlib)
{
- signal = PROGRAM_STARTED_SIGNAL;
+ signal = PROGRAM_STOPPED_SIGNAL;
}
self->debugger_state = state;
break;
case IANJUTA_DEBUGGER_PROGRAM_RUNNING:
self->stop_on_sharedlib = FALSE;
- signal = PROGRAM_RUNNING_SIGNAL;
+ if (self->debugger_state < IANJUTA_DEBUGGER_PROGRAM_STOPPED)
+ {
+ signal = PROGRAM_STARTED_SIGNAL;
+ /* Emit a debugger stopped after program started */
+ self->debugger_state = IANJUTA_DEBUGGER_PROGRAM_STOPPED;
+ break;
+ }
+ signal = PROGRAM_RUNNING_SIGNAL;
self->debugger_state = state;
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]