diff options
-rw-r--r-- | extras/MonoDevelop.Debugger.Gdb/ChangeLog | 8 | ||||
-rw-r--r-- | extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs | 18 | ||||
-rw-r--r-- | extras/MonoDevelop.Debugger.Gdb/GdbSessionFactory.cs | 4 |
3 files changed, 23 insertions, 7 deletions
diff --git a/extras/MonoDevelop.Debugger.Gdb/ChangeLog b/extras/MonoDevelop.Debugger.Gdb/ChangeLog index c854a27501..de5c323b8a 100644 --- a/extras/MonoDevelop.Debugger.Gdb/ChangeLog +++ b/extras/MonoDevelop.Debugger.Gdb/ChangeLog @@ -1,3 +1,11 @@ +2009-11-20 Lluis Sanchez Gual <lluis@novell.com> + + * GdbSessionFactory.cs: Implement Id property. + +2009-11-18 Lluis Sanchez Gual <lluis@novell.com> + + * GdbBacktrace.cs: Track api changes. + 2009-11-12 Lluis Sanchez Gual <lluis@novell.com> * GdbEvent.cs: Reason can be an array. Handle this case. diff --git a/extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs b/extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs index 1be639ee03..8aced49997 100644 --- a/extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs +++ b/extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs @@ -83,7 +83,7 @@ namespace MonoDevelop.Debugger.Gdb return frames.ToArray (); } - public ObjectValue[] GetLocalVariables (int frameIndex, int timeOut) + public ObjectValue[] GetLocalVariables (int frameIndex, EvaluationOptions options) { List<ObjectValue> values = new List<ObjectValue> (); SelectFrame (frameIndex); @@ -95,7 +95,7 @@ namespace MonoDevelop.Debugger.Gdb return values.ToArray (); } - public ObjectValue[] GetParameters (int frameIndex, int timeOut) + public ObjectValue[] GetParameters (int frameIndex, EvaluationOptions options) { List<ObjectValue> values = new List<ObjectValue> (); SelectFrame (frameIndex); @@ -106,20 +106,20 @@ namespace MonoDevelop.Debugger.Gdb return values.ToArray (); } - public ObjectValue GetThisReference (int frameIndex, int timeOut) + public ObjectValue GetThisReference (int frameIndex, EvaluationOptions options) { return null; } - public ObjectValue[] GetAllLocals (int frameIndex, int timeOut) + public ObjectValue[] GetAllLocals (int frameIndex, EvaluationOptions options) { List<ObjectValue> locals = new List<ObjectValue> (); - locals.AddRange (GetParameters (frameIndex, timeOut)); - locals.AddRange (GetLocalVariables (frameIndex, timeOut)); + locals.AddRange (GetParameters (frameIndex, options)); + locals.AddRange (GetLocalVariables (frameIndex, options)); return locals.ToArray (); } - public ObjectValue[] GetExpressionValues (int frameIndex, string[] expressions, bool evaluateMethods, int timeOut) + public ObjectValue[] GetExpressionValues (int frameIndex, string[] expressions, EvaluationOptions options) { List<ObjectValue> values = new List<ObjectValue> (); SelectFrame (frameIndex); @@ -259,6 +259,10 @@ namespace MonoDevelop.Debugger.Gdb return value; } + public ObjectValue GetValue (ObjectPath path, EvaluationOptions options) + { + throw new NotSupportedException (); + } void SelectFrame (int frame) { diff --git a/extras/MonoDevelop.Debugger.Gdb/GdbSessionFactory.cs b/extras/MonoDevelop.Debugger.Gdb/GdbSessionFactory.cs index 0c942f9781..fd9164ddc7 100644 --- a/extras/MonoDevelop.Debugger.Gdb/GdbSessionFactory.cs +++ b/extras/MonoDevelop.Debugger.Gdb/GdbSessionFactory.cs @@ -47,6 +47,10 @@ namespace MonoDevelop.Debugger.Gdb get { return "GNU Debugger (GDB)"; } } + public string Id { + get { return "Mono.Debugger.Gdb"; } + } + public bool CanDebugCommand (ExecutionCommand command) { NativeExecutionCommand cmd = command as NativeExecutionCommand; |