Permalink
Commits on May 24, 2006
  1. Released version 0.20 "Bruxelles" of the Mono Debugger :-)

    svn path=/tags/debugger-0-20/; revision=61057
    Martin Baulig committed May 24, 2006
  2. 2006-05-24 Martin Baulig <martin@ximian.com>

    	Released version 0.20 "Bruxelles" of the Mono Debugger :-)
    
    
    svn path=/trunk/debugger/; revision=61054
    Martin Baulig committed May 24, 2006
  3. 2006-05-24 Martin Baulig <martin@ximian.com>

    	* backends/server/library.c
    	(mono_debugger_server_set_notification): This is no longer a
    	"static" method - different processes may have different
    	notification addresses, so we need to make this per-target.
    
    	* backends/server/x86-ptrace.c
    	(InferiorHandle): Added `guint64 nofification_address'; replaces
    	the static variable in x86_64-arch.c/i386-arch.c.
    	(server_ptrace_set_notification): Moved here from x86_64-arch.c.
    
    	* backends/Inferior.cs
    	(Inferior.SetNotificationAddress): New internal method; call
    	mono_debugger_server_set_notification().
    
    	* backends/MonoThreadManager.cs
    	(MonoThreadManager.ThreadCreated): Call SetNotificationAddress()
    	on each newly created inferior.	
    
    
    svn path=/trunk/debugger/; revision=61047
    Martin Baulig committed May 24, 2006
  4. 2006-05-24 Martin Baulig <martin@ximian.com>

    	* arch/bfdglue.c
    	(bfd_glue_get_section_size): Added `raw_size' argument.
    	(bfd_glue_get_section_contents): Take a pre-alloced buffer as
    	argument rather than allocating it here.
    
    
    svn path=/trunk/debugger/; revision=61046
    Martin Baulig committed May 24, 2006
  5. 2006-05-24 Martin Baulig <martin@ximian.com>

    	* backends/ProcessServant.cs
    	(ProcessServant.Kill): Don't call Dispose().
    
    	* backends/server/x86-linux-ptrace.c
    	(server_ptrace_initialize_process): Don't use PTRACE_O_TRACEEXIT;
    	we don't need this.
    
    
    svn path=/trunk/debugger/; revision=61038
    Martin Baulig committed May 24, 2006
  6. 2006-05-24 Martin Baulig <martin@ximian.com>

    	* backends/MonoThreadManager.cs
    	(MonoThreadManager.HandleChildEvent): Clear the `csharp_language' on
    	`NofitifactionType.FinalizeManagedCode'.
    
    
    svn path=/trunk/debugger/; revision=61036
    Martin Baulig committed May 24, 2006
  7. Updated NEWS.

    svn path=/trunk/debugger/; revision=61034
    Martin Baulig committed May 24, 2006
  8. Ooops, make this actually work.

    svn path=/trunk/debugger/; revision=61033
    Martin Baulig committed May 24, 2006
  9. 2006-05-24 Martin Baulig <martin@ximian.com>

    	* configure.in: Check whether the Mono we're using is recent enough.
    
    
    svn path=/trunk/debugger/; revision=61032
    Martin Baulig committed May 24, 2006
  10. 2006-05-24 Martin Baulig <martin@ximian.com>

    	* frontend/Command.cs
    	(BreakCommand.DoResolve): If our base class'es DoResolve() failed,
    	try resolving the expression as an address.
    
    	* frontend/Interpreter.cs
    	(Interpreter.InsertBreakpoint): Added overloaded version which
    	takes a `TargetAddress'.
    
    	* classes/Process.cs
    	(Process.InsertBreakpoint): Added overloaded version which takes a
    	`TargetAddress'.	
    
    
    svn path=/trunk/debugger/; revision=61030
    Martin Baulig committed May 24, 2006
  11. 2006-05-24 Martin Baulig <martin@ximian.com>

    	* backends/server/server.h
    	(ServerStatusMessageType): Added `MESSAGE_CHILD_CALLED_EXIT'.
    
    	* backends/server/x86-ptrace.c
    	(server_ptrace_dispatch_event): Use `MESSAGE_CHILD_CALLED_EXIT'
    	for `PTRACE_EVENT_EXIT'.
    
    
    svn path=/trunk/debugger/; revision=61029
    Martin Baulig committed May 24, 2006
  12. Small fix.

    svn path=/trunk/debugger/; revision=61028
    Martin Baulig committed May 24, 2006
Commits on May 23, 2006
  1. Committing yesterday's changes and updating NEWS.

    svn path=/trunk/debugger/; revision=60977
    Martin Baulig committed May 23, 2006
  2. 2006-05-23 Martin Baulig <martin@ximian.com>

    	* backends/Inferior.cs
    	(Inferior.PushRegisters): New public method.
    	(Inferior.PopRegisters): New public method.
    
    	* backends/SingleSteppingEngine.cs
    	(SingleSteppingEngine.AcquireThreadLock): Call
    	inferior.PushRegisters() to push all registers onto the stack so
    	the GC will see them.
    	(SingleSteppingEngine.ReleaseThreadLock): Call
    	inferior.PopRegisters() to remove them from the stack again.
    
    	* backends/server/x86-linux-ptrace.c
    	(server_ptrace_initialize_process): Add `PTRACE_O_TRACEEXIT'.
    
    	* backends/server/x86_64-arch.c
    	(server_ptrace_push_registers): New method.
    	(server_ptrace_pop_registers): New method.
    
    	* backends/server/i386-arch.c
    	(server_ptrace_push_registers): New method.
    	(server_ptrace_pop_registers): New method.
    
    	* backends/server/library.c
    	(mono_debugger_server_push_registers): New public method.
    	(mono_debugger_server_pop_registers): New public method.
    
    
    svn path=/trunk/debugger/; revision=60976
    Martin Baulig committed May 23, 2006
  3. Small fix.

    svn path=/trunk/debugger/; revision=60975
    Martin Baulig committed May 23, 2006
  4. Small fix.

    svn path=/trunk/debugger/; revision=60974
    Martin Baulig committed May 23, 2006
Commits on May 20, 2006
  1. 2006-05-20 Martin Baulig <martin@ximian.com>

    	* arch/DwarfReader.cs
    	(DwarfReader.DwarfTargetVariable.GetLocation): Add support for
    	location lists.	
    
    
    svn path=/trunk/debugger/; revision=60899
    Martin Baulig committed May 20, 2006
  2. 2006-05-20 Martin Baulig <martin@ximian.com>

    	* arch/DwarfFrameReader.cs: More 64-bit updates.
    
    
    svn path=/trunk/debugger/; revision=60893
    Martin Baulig committed May 20, 2006
  3. 2006-05-20 Martin Baulig <martin@ximian.com>

    	* frontend/Command.cs
    	(SourceCommand.DoResolve): Also lookup native methods.
    	(BreakCommand): Add `-global' argument as a shortcut for
    	`-group global'.
    
    
    svn path=/trunk/debugger/; revision=60891
    Martin Baulig committed May 20, 2006
Commits on May 17, 2006
  1. Updated NEWS file.

    svn path=/trunk/debugger/; revision=60773
    Martin Baulig committed May 17, 2006
  2. 2006-05-17 Martin Baulig <martin@ximian.com>

    	* frontend/Interpreter.cs
    	(Interpreter.InsertHardwareWatchPoint): New public method.
    
    	* frontend/Command.cs
    	(WatchCommand): New command.
    
    	* classes/Breakpoint.cs
    	(BreakpointType): New public enum.
    	(Breakpoint.Type): New public property.
    
    	* classes/Process.cs
    	(Process.InsertHardwareWatchPoint): New public method.
    
    	* backends/ProcessServant.cs
    	(ProcessServant.InsertHardwareWatchPoint): New public method.
    
    
    svn path=/trunk/debugger/; revision=60772
    Martin Baulig committed May 17, 2006
  3. Small fix.

    svn path=/trunk/debugger/; revision=60771
    Martin Baulig committed May 17, 2006
  4. Small fix.

    svn path=/trunk/debugger/; revision=60770
    Martin Baulig committed May 17, 2006
  5. 2006-05-17 Martin Baulig <martin@ximian.com>

    	* backends/Inferior.cs
    	(Inferior.HardwareBreakpointType): New internal enum.
    	(Inferior.InsertHardwareWatchPoint): New public method.
    
    	* backends/server/x86-linux-ptrace.c
    	(_server_ptrace_set_dr): Use `guint64' for the `value' arg.
    	(_server_ptrace_get_dr): Likewise.
    	(server_ptrace_get_application): Fix compiler warnings.
    
    	* backends/server/x86-arch.h
    	(x86_arch_remove_hardware_breakpoints): New public function.
    
    	* backends/server/x86_64-arch.c
    	(ArchInfo): Use `guint64' for `dr_control' and `dr_status'.
    
    	* backends/server/x86-ptrace.cs
    	(server_ptrace_dispatch_event): Remove all hardware breakpoints if
    	we stopped the first time.
    
    	* backends/server/server.h
    	(mono_debugger_server_insert_hw_breakpoint): Added `guint32 type'
    	argument which is a `HardwareBreakpointType'.
    
    	* backends/server/breakpoints.h
    	(HardwareBreakpointType): New enum typedef.
    	(BreakpointInfo): Added `HardwareBreakpointType type' field to
    	support hardware watchpoints.
    
    
    svn path=/trunk/debugger/; revision=60769
    Martin Baulig committed May 17, 2006
Commits on May 14, 2006
  1. 2006-05-15 Martin Baulig <martin@ximian.com>

    	* classes/SourceLocation.cs
    	(SourceLocation.HasLine): New public property.
    
    	* frontend/Command.cs
    	(ListCommand.DoExecute): Only display the whole method if we
    	didn't specify a line.
    
    
    svn path=/trunk/debugger/; revision=60699
    Martin Baulig committed May 14, 2006
  2. 2006-05-15 Martin Baulig <martin@ximian.com>

    	* frontend/Command.cs
    	(SetCommand.SetEnvironmentCommand): Added "set env" command to set
    	environment variables.
    
    	* classes/DebuggerSession.cs
    	(DebuggerOptions.UserEnvironment): New public property.
    	(DebuggerOptions.SetEnvironment): New public method.
    
    	* backends/ProcessStart.cs
    	(ProcessStart.UserEnvironment): Removed; retrieve it from the
    	`DebuggerOptions'.
    
    
    svn path=/trunk/debugger/; revision=60698
    Martin Baulig committed May 14, 2006
Commits on May 12, 2006
  1. 2006-05-12 Martin Baulig <martin@ximian.com>

    	* backends/server/x86-linux-ptrace.c
    	(server_ptrace_global_wait): Restart the waiting on `stop_requested'.
    	(server_ptrace_stop_and_wait): Fix a race condition;
    	server_ptrace_global_wait() is now automatically restarted; also
    	return the SIGSTOP which we expect.
    
    	* backends/ThreadManager.cs
    	(ThreadManager.RequestWait): Make this private and protect against
    	being called multiple times; use RequestWait() everywhere instead
    	of setting the `wait_event' directly to avoid race conditions.
    
    	* backends/SingleSteppingEngine.cs
    	(SingleSteppingEngine.child_breakpoint): Call `bpt.CheckBreakpointHit()'
    	directly rather than using an async handler.
    	(SingleSteppingEngine.AcquireThreadLock): Don't call
    	`manager.RequestWait()'.
    
    
    svn path=/trunk/debugger/; revision=60659
    Martin Baulig committed May 12, 2006
  2. Reflect latest API changes.

    svn path=/trunk/debugger/; revision=60630
    Martin Baulig committed May 12, 2006
  3. Reflect latest API changes.

    svn path=/trunk/debugger/; revision=60629
    Martin Baulig committed May 12, 2006
  4. 2006-05-12 Martin Baulig <martin@ximian.com>

    	* backends/SingleSteppingEngine.cs
    	(OperationFinish.DoExecte): Use `do_next_native()', not
    	`do_step_native().	
    
    
    svn path=/trunk/debugger/; revision=60626
    Martin Baulig committed May 12, 2006
  5. 2006-05-12 Martin Baulig <martin@ximian.com>

    	* NEWS: Update: we need the latest Mono from SVN; just realized
    	that 1.1.15 is too old and does not work.
    
    
    svn path=/trunk/debugger/; revision=60625
    Martin Baulig committed May 12, 2006
  6. 2006-05-12 Martin Baulig <martin@ximian.com>

    	* frontend/Command.cs (FileCommand): Added error checking.
    	(SetCommand.SetArgsCommand): Added `set args' command.
    	(SetCommand.DoResolve): Properly handle the subcommands.
    
    	* backends/ProcessStart.cs
    	(ProcessStart.cs): `Options.InferiorArgs' no longer contains the
    	target application; use `Options.File' for that.
    
    
    svn path=/trunk/debugger/; revision=60622
    Martin Baulig committed May 12, 2006
  7. 2006-05-12 Martin Baulig <martin@ximian.com>

    	* configure.in: Bump version number to 0.20.
    
    	* NEWS: Updated NEWS.
    
    
    svn path=/trunk/debugger/; revision=60620
    Martin Baulig committed May 12, 2006
Commits on May 11, 2006
  1. 2006-05-11 Martin Baulig <martin@ximian.com>

    	* frontend/Expression.cs
    	(PointerDereferenceExpression): Allow dereferencing arbitrary
    	pointer expressions.
    
    
    svn path=/trunk/debugger/; revision=60594
    Martin Baulig committed May 11, 2006
  2. 2006-05-11 Martin Baulig <martin@ximian.com>

    	* backends/ThreadManager.cs
    	(ThreadManager.WaitTimeout): Increase to 5 seconds.
    
    	* backends/SingleSteppingEngine.cs
    	(SingleSteppingEngine.OnThreadExited): Use `TargetExited' and not
    	`TargetSignaled' if we were previously Kill()ed.
    
    	* backends/MonoThreadManager.cs
    	(MonoThreadManager.HandleChildEvent): Kill the target on
    	`NotificationType.MainExited'.	
    
    
    svn path=/trunk/debugger/; revision=60583
    Martin Baulig committed May 11, 2006