Commits on Feb 11, 2009
  1. 2009-02-09 Martin Baulig <martin@ximian.com>

    	**** Backport of 126360 ****
    
    	Fix #466012 and #423518.
    
    	* backend/server/x86-linux-ptrace.c
    	(_server_ptrace_wait_for_new_thread): New static function.  Wait
    	for a newly created thread to stop.
    
    	* backend/SingleSteppingEngine.cs
    	(SSE.StartThread): Added `do_execute' argument and resume the
    	target when it's true.
    	(SSE.OperationInitAfterFork.DoExecute): Call `sse.do_continue ()'.
    
    	* backend/ProcessServant.cs
    	(ProcessServant.ThreadCreated): If `do_attach' is false, then the
    	newly created thread has already stopped, so we tell the SSE to
    	resume it.
    
    	* backend/ThreadManager.cs
    	(ThreadManager.wait_thread_main): Ignore `SIGSTOP' events for
    	unknown threads.
    
    
    svn path=/branches/mono-2-2/debugger/; revision=126632
    Martin Baulig committed Feb 11, 2009
Commits on Feb 9, 2009
  1. 2009-01-15 Martin Baulig <martin@ximian.com>

    	**** Backport of 123467 ****
    
    	* backend/server/x86_64-arch.c
    	(x86_arch_child_stopped): Fix the regression from r120992 (Dec 8th):
    	Check for callbacks first because we expect to receive a SIGSEGV
    	on the non-executable stack.
    
    
    svn path=/branches/mono-2-2/debugger/; revision=126347
    Martin Baulig committed Feb 9, 2009
  2. 2008-12-12 Martin Baulig <martin@ximian.com>

    	**** Backport of 121402 ****
    
    	* frontend/Interpreter.cs (Interpreter.WaitAll): Reset
    	`seen_threads' and `wait_list' after receiving a process event; a
    	process may have exited.
    
    
    svn path=/branches/mono-2-2/debugger/; revision=126346
    Martin Baulig committed Feb 9, 2009
  3. 2008-12-12 Martin Baulig <martin@ximian.com>

    	**** Backport of 121401 ****
    
    	* backend/EventQueue.cs (DebuggerWaitHandle): Implement
    	IDisposable and free unmanaged resources.
    
    	* backend/server/mutex.c
    	(mono_debugger_mutex_free): New function.
    	(mono_debugger_cond_free): New function.
    
    
    svn path=/branches/mono-2-2/debugger/; revision=126345
    Martin Baulig committed Feb 9, 2009
  4. 2008-12-08 Martin Baulig <martin@ximian.com>

    	**** Backport of 120992 ****
    
    	* backend/server/i386-arch.c (x86_arch_child_stopped): Send
    	`STOP_ACTION_STOPPED' without checking for breakpoint if we didn't
    	receive a SIGTRAP.
    
    
    svn path=/branches/mono-2-2/debugger/; revision=126343
    Martin Baulig committed Feb 9, 2009
  5. 2008-12-02 Martin Baulig <martin@ximian.com>

    	**** Backport of 120452-120454 ****
    
    	* test/testsuite/*.cs: If there is more than one test in one file,
    	NUnit 2.3 may run them in any random order.
    
    	* backend/BreakpointManager.cs
    	(BreakpointManager.InitializeAfterFork): Remove all non-global
    	breakpoint, but don't force them to be `SourceBreakpoint's.
    
    
    svn path=/branches/mono-2-2/debugger/; revision=126342
    Martin Baulig committed Feb 9, 2009
Commits on Nov 18, 2008
  1. 2008-11-17 Martin Baulig <martin@ximian.com>

    	* frontend/Expression.cs
    	(ExpressionParser.MonoObjectToString): Mark this as [Obsolete], it
    	is not an official API in 2.2 and has already been replaced in trunk.
    
    
    svn path=/branches/mono-2-2/debugger/; revision=119157
    Martin Baulig committed Nov 18, 2008
Commits on Nov 17, 2008
  1. 2008-11-17 Martin Baulig <martin@ximian.com>

    	Released version 2.2 "Sidney" of the Mono Debugger.
    
    	* NEWS: Update to 2.2.
    
    	* configure.in: Bump version number to 2.2.
    
    
    svn path=/branches/mono-2-2/debugger/; revision=119049
    Martin Baulig committed Nov 17, 2008
  2. **** Merged r117600-HEAD from trunk ****

    svn path=/branches/mono-2-2/debugger/; revision=119046
    Martin Baulig committed Nov 17, 2008
Commits on Nov 11, 2008
  1. **** Merged r118447-117599 ****

    svn path=/branches/mono-2-2/debugger/; revision=118508
    Martin Baulig committed Nov 11, 2008
  2. Small fix.

    svn path=/trunk/debugger/; revision=118507
    Martin Baulig committed Nov 11, 2008
  3. Ooops, small fix.

    svn path=/trunk/debugger/; revision=118506
    Martin Baulig committed Nov 11, 2008
  4. Category: ManagedTypes

    svn path=/trunk/debugger/; revision=118505
    Martin Baulig committed Nov 11, 2008
  5. 2008-11-11 Martin Baulig <martin@ximian.com>

    	* test/testsuite/NUnit.cs
    	(TestSuite.EvaluateExpression): New public method.
    
    	* frontend/Expression.cs
    	(ExpressionParser.EvaluationResult): New public enum.
    	(ExpressionParser.MonoObjectToString): New public method.
    
    	* test/{src|testsuite}/TestToString2.cs: New tests.
    
    
    svn path=/trunk/debugger/; revision=118504
    Martin Baulig committed Nov 11, 2008
  6. Bump versions to 2.2

    svn path=/branches/mono-2-2/debugger/; revision=118446
    Andrew Jorgensen committed Nov 11, 2008
Commits on Nov 10, 2008
  1. 2008-11-10 Martin Baulig <martin@ximian.com>

    	* backend/arch/Architecture.cs
    	(Architecture.GetLMF): Added `ref TargetAddress lmf_address'
    	argument; return the address of the next LMF.
    
    	* classes/Backtrace.cs
    	(Backtrace.TryLMF): Allow multiple LMF frames.
    
    
    svn path=/trunk/debugger/; revision=118383
    Martin Baulig committed Nov 10, 2008
Commits on Nov 8, 2008
  1. Reflect latest debugger changes.

    svn path=/trunk/debugger/; revision=118263
    Martin Baulig committed Nov 8, 2008
  2. Reflect latest debugger changes.

    svn path=/trunk/debugger/; revision=118262
    Martin Baulig committed Nov 8, 2008
  3. 2008-11-08 Martin Baulig <martin@ximian.com>

    	* interface/Report.cs
    	(ReportWriter.ctor): Only use `MDB_DEBUG_FLAGS' and parse it like
    	the `-debug-flags' command line argument; kill `MDB_DEBUG_OUTPUT'.
    
    
    svn path=/trunk/debugger/; revision=118261
    Martin Baulig committed Nov 8, 2008
  4. 2008-11-08 Martin Baulig <martin@ximian.com>

    	* backend/SingleSteppingEngine.cs
    	(SSE.ManagedCallback): Insert a breakpoint on the last managed
    	frame to fix a race condition - see the comments in the source code.
    
    
    svn path=/trunk/debugger/; revision=118260
    Martin Baulig committed Nov 8, 2008
Commits on Nov 6, 2008
  1. 2008-11-06 Martin Baulig <martin@ximian.com>

    	* backend/arch/Architecture.cs
    	(Architecture.AdjustReturnAddress): Removed.  This was a big hack
    	and there was no guarantee that the "adjusted" return address was
    	actually correct.
    	(Architecture.CreateFrame): Removed the `adjust_retaddr' argument.
    
    
    svn path=/trunk/debugger/; revision=118124
    Martin Baulig committed Nov 6, 2008
  2. 2008-11-06 Martin Baulig <martin@ximian.com>

    	* backend/arch/Architecture_X86_64.cs
    	(Architecture_X86_64.GetLMF): Fixed.
    
    	* classes/Backtrace.cs
    	(Backtrace.TryUnwind): Only check the LMF once.
    
    
    svn path=/trunk/debugger/; revision=118121
    Martin Baulig committed Nov 6, 2008
Commits on Nov 1, 2008
  1. 2008-11-01 Martin Baulig <martin@ximian.com>

    	* languages/mono/MonoPointerType.cs: Use `*', not '&' (ie. `int*').
    
    
    svn path=/trunk/debugger/; revision=117599
    Martin Baulig committed Nov 1, 2008
  2. 2008-11-01 Martin Baulig <martin@ximian.com>

    	* languages/mono/MonoPointerType.cs: Use `*', not '&' (ie. `int*').
    
    
    svn path=/trunk/debugger/; revision=117598
    Martin Baulig committed Nov 1, 2008
Commits on Oct 28, 2008
  1. 2008-10-28 Martin Baulig <martin@ximian.com>

    	* languages/mono/MonoVariable.cs
    	(MonoVariable.IsAlive): Check `AddressMode.Dead'.
    	(MonoVariable.IsInScope): Likewise.
    
    
    svn path=/trunk/debugger/; revision=117290
    Martin Baulig committed Oct 28, 2008
Commits on Oct 25, 2008
  1. 2008-10-25 Martin Baulig <martin@ximian.com>

    	* languages/mono/MonoPointerObject.cs
    	(MonoPointerObject.GetDereferencedObject): Dereference the
    	location if the static type is a TargetPointerType.  This fixes
    	pointer-to-pointer (`int** a', for instance).
    
    
    svn path=/trunk/debugger/; revision=117016
    Martin Baulig committed Oct 25, 2008
  2. 2008-10-25 Martin Baulig <martin@ximian.com>

    	* languages/mono/MonoSymbolFile.cs
    	(VariableInfo.AddressMode): Add `Dead'.	
    
    
    svn path=/trunk/debugger/; revision=117015
    Martin Baulig committed Oct 25, 2008
Commits on Oct 24, 2008
  1. Make it run a little bit faster.

    svn path=/trunk/debugger/; revision=116949
    Martin Baulig committed Oct 24, 2008
  2. 2008-10-24 Martin Baulig <martin@ximian.com>

    	Fixes the XSP-issue in #423518.
    
    	* backend/server/x86-linux-ptrace.c
    	(server_ptrace_detach_after_fork): Use a non-blocking wait to make
    	things work in case we already received the SIGSTOP before.
    
    	* test/testsuite/TestDontFollowFork.cs: New test.
    
    
    svn path=/trunk/debugger/; revision=116945
    Martin Baulig committed Oct 24, 2008
  3. 2008-10-24 Martin Baulig <martin@ximian.com>

    	Fixes the XSP-issue in #423518.
    
    	* backend/server/x86-linux-ptrace.c
    	(server_ptrace_detach_after_fork): Use a non-blocking wait to make
    	things work in case we already received the SIGSTOP before.
    
    
    svn path=/trunk/debugger/; revision=116942
    Martin Baulig committed Oct 24, 2008
  4. Small fix.

    svn path=/trunk/debugger/; revision=116932
    Martin Baulig committed Oct 24, 2008
Commits on Oct 23, 2008
  1. 2008-10-23 Martin Baulig <martin@ximian.com>

    	* interface/Report.cs
    	(Report.ParseDebugFlags): New public static method; parse the
    	debug flags both as integers and as strings.
    
    	* classes/DebuggerOptions.cs
    	(DebuggerOptions.ParseDebugFlags): Call Report.ParseDebugFlags()
    	to parse the debug flags; we can now also specify debug flags as a
    	comma separated list of strings.
    
    
    svn path=/trunk/debugger/; revision=116821
    Martin Baulig committed Oct 23, 2008
Commits on Oct 22, 2008
  1. 2008-10-23 Martin Baulig <martin@ximian.com>

    	Bug #423518.
    
    	There is a race condition in the Linux kernel which shows up on >= 2.6.27:
    
    	When creating a new thread, the initial stopping event of that thread is sometimes
    	sent before sending the `PTRACE_EVENT_CLONE' for it.
    
    	* backend/server/library.c
    	(mono_debugger_server_dispatch_simple): New public function.  This
    	function is safe to be called from any thread and only decodes the
    	event into the basic stopped / signaled / exited etc.
    
    	* backend/ThreadManager.cs: Queue stopping events from unknown
    	threads for 200 seconds to work around the race condition.
    
    
    svn path=/trunk/debugger/; revision=116816
    Martin Baulig committed Oct 22, 2008
Commits on Oct 19, 2008
  1. 2008-10-20 Martin Baulig <martin@ximian.com>

    	Applying a patch from Cedric Vivier <cedricv@neonux.com>
    
    	* classes/Method.cs
    	(Method.IsInvokeWrapper): New internal property.
    
    	* backend/SingleSteppingEngine.cs
    	(SSE.OperationStep): Enable stepping into method from objects
    	deriving from MarshalByRefObject.
    
    
    svn path=/trunk/debugger/; revision=116485
    Martin Baulig committed Oct 19, 2008
  2. 2008-10-20 Martin Baulig <martin@ximian.com>

    	* interface/Report.cs: Include timestamps when writing to a file.
    
    
    svn path=/trunk/debugger/; revision=116484
    Martin Baulig committed Oct 19, 2008