Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 22, 2009
  1. Fix a regression introduced in r136640: reset the 'operation_complete…

    Martin Baulig authored
    …d_event' when starting a new operation.
    
    2009-06-20  Martin Baulig  <martin@ximian.com>
    
    	* backend/SingleSteppingEngine.cs
    	(SSE.StartOperation): Fix a regression introduced in r135640:
    	reset `operation_completed_event' when starting a new operation.
    
    svn path=/branches/mono-2-4-2/debugger/; revision=136621
Commits on Jun 17, 2009
  1. Improved error handling in the expression parser.

    Martin Baulig authored
    2009-06-16  Martin Baulig  <martin@ximian.com>
    
    	* classes/ExpressionEvaluator.cs
    	(ExpressionParsingException): Removed 'ErrorOutput'.
    
    	* frontend/CSharpTokenizer.cs
    	(SyntaxError): Removed.
    	(Tokenizer): Throw a 'yyParser.yyException' instead of returning
    	'Token.ERROR'; killed 'Error'.
    
    	* frontend/jay/skeleton.cs: Killed 'ErrorOutput', yyerror() now
    	throws a 'yyParser.yyException'.
    
    	* frontend/CSharpExpressionParser.jay: Improved error handling.
    
    	* frontend/skeleton: Removed.
    	* frontend/jay/skeleton: Removed.
    
    svn path=/branches/mono-2-4-2/debugger/; revision=136276
Commits on Jun 15, 2009
  1. In GUIManager.EvaluationDone(): Invoke the callback directly, before …

    Martin Baulig authored
    …signalling the AsyncResult.
    
    2009-06-15  Martin Baulig  <martin@ximian.com>
    
    	* classes/GUIManager.cs
    	(GUIManager.EvaluationDone): Invoke the callback directly, don't
    	queue it as an event - it must be called before signalling the
    	AsyncResult.
    
    svn path=/branches/mono-2-4-2/debugger/; revision=136161
Commits on Jun 10, 2009
  1. In ExpressionParser.EvaluateAsync(): Invoke the callback before signa…

    Martin Baulig authored
    …ling the wait handle.
    
    2009-06-10  Martin Baulig  <martin@ximian.com>
    
    	* frontend/Expression.cs
    	(ExpressionParser.EvaluateAsync): Invoke the callback before
    	signalling the wait handle.
    
    svn path=/branches/mono-2-4-2/debugger/; revision=135810
Commits on Jun 9, 2009
  1. Return 'EE.AsyncResult' in GUIManager.EvaluateExpressionAsync.

    Martin Baulig authored
    2009-06-10  Martin Baulig  <martin@ximian.com>
    
    	* classes/GUIManager.cs
    	(GUIManager.EvaluateExpressionAsync): Return an
    	`ExpressionEvaluator.AsyncResult'.
    
    svn path=/branches/mono-2-4-2/debugger/; revision=135805
Commits on Jun 8, 2009
  1. Bump version numbers

    Andrew Jorgensen authored
    svn path=/branches/mono-2-4-2/debugger/; revision=135675
  2. Improve asynchronous expression evaluation.

    Martin Baulig authored
    2009-06-04  Martin Baulig  <martin@ximian.com>
    
    	* backend/SingleSteppingEngine.cs
    	(SSE): Kill `stop_requested'.
    	(SSE.AbortInvocation): Stop the target if necessary.
    
    	* classes/Thread.cs
    
    	* backend/ThreadServant.cs
    	(ThreadServant.AbortInvocation): Make this internal.
    
    	* classes/Thread.cs
    	(Thread.RuntimeInvoke): Use `operation_completed_event' here as
    	well, just like we're doing it for stepping operations.
    	(Thread.AbortInvocation): Make this internal.
    	(RuntimeInvokeResult): Derive from `ThreadCommandResult'.
    	(RuntimeInvokeResult.Abort): Call Thread.AbortInvocation() and
    	wait until it completed.
    
    	* frontend/Expression.cs
    	(ExpressionParser): Renamed Parse() -> ParseInternal() and added a
    	new Parse() method returning `EE.IExpression'.
    	(Expression): Don't implement `EE.IExpression'.
    
    	* classes/ExpressionEvaluator.cs
    	(ExpressionParsingException): New public class.
    	(EE.IExpression.EvaluateAsync): Moved here from `IEvaluator'.
    	(EE.IEvaluator): Removed.
    
    	* classes/DebuggerSession.cs
    	(IExpressionParser): Renamed Parse() -> ParseLocation().
    
    	* frontend/CSharpExpressionParser.jay
    	(ExpressionParser.Parse): Throw a `ExpressionParsingException' on
    	error; redirect error output and include it in the exception.
    
    	* frontend/Makefile.am: Use `$(srcdir)/jay/skeleton.cs' instead of
    	`$(srcdir)/skeleton'.
    
    	* frontend/ScriptingContext.cs
    	(ScriptingContext.ParseExpression): New public method; use this to
    	parse expressions inside the frontend, this throws a
    	`ScriptingException' with a user-friendly error message.
    
    svn path=/branches/mono-2-4/debugger/; revision=135647
  3. Remove some old unused code.

    Martin Baulig authored
    svn path=/branches/mono-2-4/debugger/; revision=135646
  4. Fix the 'operation_completed_event' mess.

    Martin Baulig authored
    2009-06-08  Martin Baulig  <martin@ximian.com>
    
    	* backend/ThreadServant.cs
    	(ThreadServant.WaitHandle): New public abstract property.
    
    	* classes/Thread.cs
    	(Thread.WaitHandle): Use `servant.WaitHandle'.
    	(Thread.operation_completed_event): Removed; use the SSE's
    	wait handle instead.
    	(CommandResult.Completed): Make this internal, not public.
    	(OperationCommandResult): New public class; derives from
    	`ThreadCommandResult', but has its own wait handle.  This is set
    	when the operation is completed, which is not necessarily when the
    	target is stopped.
    	(RuntimeInvokeResult): Derive from `OperationCommandResult'.
    
    svn path=/branches/mono-2-4/debugger/; revision=135645
  5. Include the name of runtime-invoke'd function in backtraces.

    Martin Baulig authored
    2009-06-08  Martin Baulig  <martin@ximian.com>
    
    	* backend/ThreadServant.cs
    	(ThreadServant.GetRuntimeInvokedFunction): New internal function.
    
    	* classes/Backtrace.cs
    	(Backtrace.TryCallback): Print the name of the runtime-invoke'd
    	function int the backtrace.
    
    	* test/testsuite/NUnit/NUnit.cs
    	(TestSuite.AssertRuntimeInvokeFrame): New public method.
    
    svn path=/branches/mono-2-4/debugger/; revision=135644
  6. Add new testcase to TestNestedBreakStates.cs.

    Martin Baulig authored
    2009-06-08  Martin Baulig  <martin@ximian.com>
    
    	* test/{testsuite|src}/TestNestedBreakStates.cs: Add new testcase.
    
    svn path=/branches/mono-2-4/debugger/; revision=135643
  7. Some more work on the expression evaluator.

    Martin Baulig authored
    2009-06-08  Martin Baulig  <martin@ximian.com>
    
    	* classes/Process.cs
    	(ExceptionAction): Make this enum public.
    	(ExceptionCatchPointHandler): Replaced `out bool stopped' with
    	`out ExceptionAction action'.
    	(Process.GenericExceptionCatchPoint): Likewise.
    
    	* frontend/Expression.cs
    	(ExpressionParser.EvaluateAsync): Check the flags and set
    	`ScriptingFlags.NestedBreakStates' if requested.
    	(ExpressionParser.DoEvaluate): Catch `InvocationException' here as
    	well and report `EvaluationResult.Exception'.
    	(InvocationExpression.DoInvoke): Throw an `InvocationException'
    	instead of a `ScriptingException' if we received an exception.
    
    	* frontend/ScriptingContext.cs
    	(ScriptingContext.InvocationException): New public exception
    	class; derives from `ScriptingException'.
    
    svn path=/branches/mono-2-4/debugger/; revision=135642
Commits on Jun 6, 2009
  1. SSE.OperationMonoTrampoline: make this work if we're interrupted unex…

    Martin Baulig authored
    …pectedly, for instance because of a module load notification.
    
    2009-06-05  Martin Baulig  <martin@ximian.com>
    
    	* backend/SingleSteppingEngine.cs:
    	(OperationMonoTrampoline.ResumeOperation): Resume operation in
    	case we're interrupted unexpectedly, for instance because of a
    	module load notification.
    
    	* test/testsuite/TestBreakpoint2.cs: New testcase for it.
    
    	* test/testsuite/NUnit.cs
    	(TestSuite:AddSourceFile): New protected method to read automatic
    	breakpoints in another source file.
    
    svn path=/branches/mono-2-4/debugger/; revision=135588
  2. Decrease timeouts to make the tests run faster.

    Martin Baulig authored
    svn path=/branches/mono-2-4/debugger/; revision=135587
  3. Ooops, small fix.

    Martin Baulig authored
    svn path=/branches/mono-2-4/debugger/; revision=135586
Commits on May 19, 2009
  1. Set 'RuntimeInvokeFlags.NestedBreakStates' in InvocationExpression.Do…

    Martin Baulig authored
    …Invoke().
    
    2009-05-19  Martin Baulig  <martin@ximian.com>
    
    	* frontend/Expression.cs
    	(InvocationExpression.DoInvoke): Add
    	`RuntimeInvokeFlags.NestedBreakStates'.
    
    svn path=/branches/mono-2-4/debugger/; revision=134414
  2. Thread.AbortInvocation() now takes a 'long rti_id' argument to only a…

    Martin Baulig authored
    …bort this specific invocation.
    
    2009-05-19  Martin Baulig  <martin@ximian.com>
    
    	* classes/Thread.cs
    	(Thread.AbortInvocation): Added `long rti_id' argument.
    
    	* backend/SingleSteppingEngine.cs
    	(SSE.AbortInvocation): Implemented this using `OperationReturn'.
    
    	* classes/TargetException.cs
    	(TargetError): Added `NoInvocation'.
    
    svn path=/branches/mono-2-4/debugger/; revision=134413
  3. Implement 'ReturnMode.Invocation' in SSE.Return().

    Martin Baulig authored
    2009-05-19  Martin Baulig  <martin@ximian.com>
    
    	* backend/Inferior.cs
    	(Inferior.AbortInvoke): Only take `long rti_id' argument; we now
    	abort one specific invocation and don't search on the stack.
    
    	* backend/server/server.h
    	(InferiorVTable.abort_invoke): Only take a `guint64 rti_id'
    	argument, removed the `stack_pointer' and `*aborted_rti' ones.
    
    	* backend/server/x86_64-arch.c
    	(server_ptrace_abort_invoke): Only take a `guint64 rti_id'
    	argument, removed the `stack_pointer' and `*aborted_rti' ones.
    
    	* backend/server/i386-arch.c
    	(server_ptrace_abort_invoke): Only take a `guint64 rti_id'
    	argument, removed the `stack_pointer' and `*aborted_rti' ones.
    
    	* backend/SingleSteppingEngine.cs
    	(SSE.AbortRuntimeInvoke): Call `inferior.AbortInvoke()'.
    	(SSE.Return): Implement `ReturnMode.Invocation'.
    	(SSE.OperationReturn): Add support for aborting an entire
    	invocation.
    
    	* classes/Backtrace.cs
    	(Backtrace.TryCallback): Take a `ref StackFrame last_frame'
    	argument to allow the parent function to do some more checks on it
    	before adding it.
    	(Backtrace.TryUnwind): Improve handling of callback frames; also
    	check `until'.
    
    	* backend/ThreadServant.cs
    	(ThreadServant.AbortInvocation): Removed.
    
    	* classes/Thread.cs
    	(Thread.AbortInvocation): Removed.
    
    svn path=/branches/mono-2-4/debugger/; revision=134412
  4. Thread.Return() now takes a 'ReturnMode' argument; start fixing the r…

    Martin Baulig authored
    …eturn mess.
    
    2009-05-18  Martin Baulig  <martin@ximian.com>
    
    	* classes/Thread.cs
    	(ReturnMode): New public enum.
    	(Thread.Return): Replace the `bool run_finally' with a
    	`ReturnMode' argument.
    
    	* backend/SingleSteppingEngine.cs
    	(SSE.Return): Start fixing the return mess.
    
    	* classes/TargetException.cs
    	(TargetError): Added `InvalidReturn'.
    
    	* frontend/Command.cs
    	(ReturnCommand): Add `-native' argument to allow returning from
    	native frames while running managed code.
    
    svn path=/branches/mono-2-4/debugger/; revision=134411
  5. 2009-05-14 Martin Baulig <martin@ximian.com>

    Martin Baulig authored
    	* classes/StackFrame.cs
    	(FrameType): New public enum.
    	(StackFrame.ctor): Take an additional `FrameType' argument.
    
    	* classes/Backtrace.cs
    	(Backtrace.TryCallback): Set `FrameType.Callback' or
    	`FrameType.RuntimeInvoke' depending on the callback type.
    
    	* backend/arch/Architecture.cs
    	(Architecture.CreateFrame): Take an additional `FrameType' argument.
    
    	* backend/Inferior.cs
    	(Inferior.CallbackFrame): New internal class.
    	(Inferior.GetCallbackFrame): Return an `Inferior.CallbackFrame'.
    
    	* backend/ThreadServant.cs
    	(ThreadServant.GetCallbackFrame): Return an `Inferior.CallbackFrame'.
    
    	* backend/server/server.h
    	(CallbackInfo): New typedef.
    	(InferiorVTable.get_callback_frame): Replace `guint64 *registers'
    	with a `CallbackInfo *info'.
    	(mono_debugger_server_get_callback_frame): Likewise.
    
    svn path=/branches/mono-2-4/debugger/; revision=134410
Commits on May 4, 2009
  1. Small fix.

    Martin Baulig authored
    svn path=/branches/mono-2-4/debugger/; revision=133527
Commits on May 3, 2009
  1. 2009-05-03 Martin Baulig <martin@ximian.com>

    Martin Baulig authored
    	* configure.in: Drop support for older nunit's.
    
    svn path=/branches/mono-2-4/debugger/; revision=133449
  2. 2009-05-03 Martin Baulig <martin@ximian.com>

    Martin Baulig authored
    	* MonoSymbolTable.cs
    	(LineNumberTable.GetMethodBounds): Ignore hidden lines when
    	computing the method bounds.
    
    svn path=/branches/mono-2-4/debugger/; revision=133447
Commits on May 1, 2009
  1. 2009-05-02 Martin Baulig <martin@ximian.com>

    Martin Baulig authored
    	Don't step into any signal handlers during source-level stepping.
    
    	* backend/server/library.c
    	(mono_debugger_server_get_pending_signal): New public function.
    
    	* backend/server/server.h
    	(InferiorVTable): Added `get_pending_signal'.
    
    	* backend/Inferior.cs
    	(Inferior.GetPendingSignal): New public method.
    
    	* backend/SingleSteppingEngine.cs
    	(SSE.do_next_native): Renamed into `do_next'.
    	(SSE.do_step): New function; same as do_step_native(), but don't
    	step into any signal handlers.
    	(SSE.OperationStep): Use do_step() instead of do_step_native(),
    	except when doing single-instruction stepping, don't step into any
    	signal handlers when doing source-level stepping.
    
    svn path=/branches/mono-2-4/debugger/; revision=133301
Commits on Apr 30, 2009
  1. Call Breakpoint.OnResolveFailed(), not Breakpoint.OnBreakpointError()…

    Martin Baulig authored
    … when receiving a TargetError.LocationInvalid.
    
    2009-04-30  Martin Baulig  <martin@ximian.com>
    
    	* classes/Breakpoint.cs
    	(Breakpoint.OnResolveFailed): New protected internal method.
    
    	* backend/SingleSteppingEngine.cs
    	(SSE.ActivatePendingBreakpoint): Call Breakpoint.OnResolveFailed(),
    	not OnBreakpointError() if we got a `TargetError.LocationInvalid'.
    
    svn path=/branches/mono-2-4/debugger/; revision=133183
  2. Small fix for i386.

    Martin Baulig authored
    2009-04-30  Martin Baulig  <martin@ximian.com>
    
    	* languages/mono/MonoLanguageBackend.cs
    	(MonoLanguageBackend.create_appdomain): Make this work on i386.
    
    svn path=/branches/mono-2-4/debugger/; revision=133155
  3. Don't backport 132585, it is broken.

    Martin Baulig authored
    svn path=/branches/mono-2-4/debugger/; revision=133142
  4. **** Updated merge status: merged until 133023 ****

    Martin Baulig authored
    2009-04-30  Martin Baulig  <martin@ximian.com>
    
    	Merge status as of April 29th:
    
    	- merged until 133023.
    
    	- reverted revisions:
    	128557, 128559, 132026, 132028, 132029, 132584, 132586.
    
    	- jchambers changes which will not be merged:
    	129763, 129857, 131778, 131779, 132539, 132651, 132674,
    	132697, 132803.
    
    	- monodis and lesspipe have not yet been merged:
    	130986, 130987, 130988, 130989, 131093.
    
    	- experimental code which will not be merged:
    	132841, 132843
    
    svn path=/branches/mono-2-4/debugger/; revision=133141
  5. **** Backport of 130985 ****

    Martin Baulig authored
    2009-04-03  Martin Baulig  <martin@ximian.com>
    
    	**** Backport of 130985 ****
    
    	* configure.in: Kill the old pre-historic `server_only'.
    
    svn path=/branches/mono-2-4/debugger/; revision=133140
  6. **** Backport of 132585 ****

    Martin Baulig authored
    2009-04-24  Jonathan Chambers  <joncham@gmail.com>
    
    	**** Backport of 132585 ****
    
    	* configure.in: Do simple numeric check for nunit
    	version since buildbot sets version to svn rev.
    
    svn path=/branches/mono-2-4/debugger/; revision=133139
  7. **** Backport of 132009, 132025, 133002 and 133023 ****

    Martin Baulig authored
    2009-04-17  Martin Baulig  <martin@ximian.com>
    
    	**** Backport of 132009, 132025, 133002 and 133023 ****
    
    	* classes/LineNumberTable.cs
    	(LineNumberTable.Lookup): Add overloaded virtual version taking a
    	`column' argument.
    
    	* classes/SourceLocation.cs
    	(SourceLocation.Column): New public readonly field.
    	(SourceLocation.ctor): Add overloaded versions taking a `column' arg.
    
    	* backend/BreakpointHandle.cs
    	(FunctionBreakpointHandle): Add `column' field.
    
    svn path=/branches/mono-2-4/debugger/; revision=133138
  8. **** Backport of 131823, 131838 and 131839 ****

    Martin Baulig authored
    2009-04-16  Martin Baulig  <martin@ximian.com>
    
    	**** Backport of 131838 ****
    
    	Add support for 'source ranges' - instead of only using line
    	numbers, we now use a struct containing 'StartLine', 'EndLine',
    	'StartColumn' and 'EndColumn'.
    
    	* classes/Method.cs
    	(LineEntry.SourceRange): New public field.
    
    	* classes/SourceAddress.cs
    	(SourceAddress.HasSourceRange): New public property.
    	(SourceAddress.SourceRange): New public property.
    	(SourceRange): New public struct.
    
    2009-04-15  Martin Baulig  <martin@ximian.com>
    
    	**** Backport of 131823 ****
    
    	* classes/SourceAddress.cs
    	(SourceAddress): Rename `SourceOffset' -> `LineOffset' and
    	`SourceRange' -> `LineRange'.
    
    2009-04-16  Martin Baulig  <martin@ximian.com>
    
    	**** Backport of 131838 and 131839 ****
    
    	* MonoSymbolTable.cs
    	(SourceRangeEntry): New public class.
    	(LineNumberEntry.SourceRange): New public field.
    	(LineNumberTable): Add support for source ranges.
    	(LineNumberTable.DW_LNE_MONO_set_source_range): New private
    	extended opcode to encode source ranges.
    
    	* MonoSymbolWriter.cs
    	(MonoSymbolWriter.MarkSequencePoint): Add overloaded version
    	supporting source ranges.
    
    svn path=/branches/mono-2-4/debugger/; revision=133137
  9. **** Backport of 130661, 130759, 131797 and 131798 ****

    Martin Baulig authored
    2009-04-14  Martin Baulig  <martin@ximian.com>
    
    	**** Backport of 130661, 130759, 131797 and 131798 ****
    
    	* symbolwriter/ndesk-options.cs: New file; copied
    	src/NDesk.Options/NDesk.Options/Options.cs from NDesk.Options.
    
    	* symbolwriter/MdbSymbolReader.cs: Some more work on printing the
    	contents of a symbol file instead of just verifying it.
    
    	* build/mdb-symbolreader.in: New file; create a `mdb-symbolreader'
    	wrapper script.
    
    svn path=/branches/mono-2-4/debugger/; revision=133136
  10. **** Backport of 131812, 131813, 131814 and 131817 ****

    Martin Baulig authored
    2009-04-30  Martin Baulig  <martin@ximian.com>
    
    	**** Backport of 131812, 131813, 131814 and 131817 ****
    
    	* symbolwriter/: Sync with the upstream version.
    
    svn path=/branches/mono-2-4/debugger/; revision=133135
  11. **** Backport of 131799 ****

    Martin Baulig authored
    2009-04-15  Martin Baulig  <martin@ximian.com>
    
    	**** Backport of 131799 ****
    
    	* symbolwriter/MonoSymbolTable.cs
    	(LineNumberTable.DW_LNE_MONO__extensions_start): New const.
    	(LineNumberTable.DW_LNE_MONO__extensions_end): New const.
    	(LineNumberTable.DoRead): Ignore unknown extended opcodes if
    	they're within the Mono extension range.
    
    svn path=/branches/mono-2-4/debugger/; revision=133134
Something went wrong with that request. Please try again.