Author: martin
Date: 2007-01-19 12:09:17 -0500 (Fri, 19 Jan 2007)
New Revision: 71346
Modified:
trunk/debugger/ChangeLog
trunk/debugger/backend/SingleSteppingEngine.cs
trunk/debugger/classes/Thread.cs
Log:
2007-01-19 Martin Baulig <[EMAIL PROTECTED]>
* backend/SingleSteppingEngine.cs
(SingleSteppingEngine.IsStopped): Check whether the engine is
stopped rather than using the Inferior's TargetState.
* classes/Thread.cs
(Thread.IsStopped): Use `servant.IsStopped' rather than relying on
the `TargetState'.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2007-01-19 17:05:59 UTC (rev 71345)
+++ trunk/debugger/ChangeLog 2007-01-19 17:09:17 UTC (rev 71346)
@@ -1,5 +1,15 @@
2007-01-19 Martin Baulig <[EMAIL PROTECTED]>
+ * backend/SingleSteppingEngine.cs
+ (SingleSteppingEngine.IsStopped): Check whether the engine is
+ stopped rather than using the Inferior's TargetState.
+
+ * classes/Thread.cs
+ (Thread.IsStopped): Use `servant.IsStopped' rather than relying on
+ the `TargetState'.
+
+2007-01-19 Martin Baulig <[EMAIL PROTECTED]>
+
* classes/DebuggerConfiguration.cs
(DebuggerConfiguration.BrokenThreading): New public property;
enabled by default.
Modified: trunk/debugger/backend/SingleSteppingEngine.cs
===================================================================
--- trunk/debugger/backend/SingleSteppingEngine.cs 2007-01-19 17:05:59 UTC
(rev 71345)
+++ trunk/debugger/backend/SingleSteppingEngine.cs 2007-01-19 17:09:17 UTC
(rev 71346)
@@ -691,7 +691,7 @@
}
public override bool IsStopped {
- get { return State == TargetState.Stopped; }
+ get { return engine_stopped; }
}
internal override ProcessServant ProcessServant {
Modified: trunk/debugger/classes/Thread.cs
===================================================================
--- trunk/debugger/classes/Thread.cs 2007-01-19 17:05:59 UTC (rev 71345)
+++ trunk/debugger/classes/Thread.cs 2007-01-19 17:09:17 UTC (rev 71346)
@@ -658,7 +658,7 @@
}
public bool IsStopped {
- get { return State == TargetState.Stopped; }
+ get { return (servant != null) && servant.IsStopped; }
}
public override TargetInfo TargetInfo {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches