This repository has been archived by the owner. It is now read-only.
Permalink
Commits on Apr 24, 2005
  1. 2005-04-24 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 24, 2005
    	* frontend/Command.cs (SetCommand): override DoResolve and
    	DoExecute so we can both handle debugger settings as well as
    	expressions representing assignments ("set lang auto" and "set x =
    	3", respectively).
    
    
    svn path=/trunk/debugger/; revision=43511
Commits on Apr 22, 2005
  1. 2005-04-22 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 22, 2005
    	* backends/MonoThreadManager.cs (MonoThreadManager.ThreadCreated):
    	fix for use with the new io-layer, which appears to create an
    	additional thread at runtime startup.  This change is evil, and
    	this code is also evil.  There has to be a better way for the
    	debugger to figure out which is the main managed thread.
    
    
    svn path=/trunk/debugger/; revision=43463
  2. add some helpful comments

    Chris Toshok
    Chris Toshok committed Apr 22, 2005
    svn path=/trunk/debugger/; revision=43460
  3. Reflect latest runtime changes.

    Martin Baulig
    Martin Baulig committed Apr 22, 2005
    svn path=/trunk/debugger/; revision=43448
Commits on Apr 19, 2005
  1. 2005-04-19 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 19, 2005
    	* frontend/Command.cs (CdCommand.DoExecute): special handling for
    	"." and "..", and use DirectoryInfo to make sure paths exist.
    	Fixes bug #73247.
    
    
    svn path=/trunk/debugger/; revision=43299
  2. 2005-04-19 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 19, 2005
    	* frontend/CL.cs (LineParser.GetCommand): change the way commands
    	are parsed so that "_" on the line is assumed to be a command
    	(which doesn't exist, of course).  Fixes bug #73244.
    
    
    svn path=/trunk/debugger/; revision=43292
  3. 2005-04-18 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 19, 2005
    	* configure.in: fix BFD_TARGET_X86_64 AM_CONDITIONAL.  Thanks to
    	Marvin Taylor for this one.
    
    
    svn path=/trunk/debugger/; revision=43236
Commits on Apr 14, 2005
  1. 2005-04-13 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 14, 2005
    	* backends/mono/MonoLanguageBackend.cs: rather broken fix for
    	74391.  call MonoDebuggerInfo.LookupType before looking up the
    	type.
    
    
    svn path=/trunk/debugger/; revision=42978
Commits on Apr 13, 2005
  1. 2005-04-13 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 13, 2005
    	* interfaces/IMethod.cs: Add some docs.
    
    	* interfaces/IArchitecture.cs: same.
    
    
    svn path=/trunk/debugger/; revision=42968
Commits on Apr 12, 2005
  1. * autogen.sh: Corrected error messages to print Mono-debugger

    Martin Willemoes Hansen
    Martin Willemoes Hansen committed Apr 12, 2005
              instead of Gtk#
    
    svn path=/trunk/debugger/; revision=42868
  2. 2005-04-12 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 12, 2005
    	* frontend/Interpreter.cs (Interpreter.ShowModules): clean up the
    	module list.
    
    
    svn path=/trunk/debugger/; revision=42863
  3. 2005-04-11 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 12, 2005
    	* backends/Debugger.cs (DebuggerBackend.LoadLibrary): if the
    	library we're loading is a managed assembly, call
    	mono_language.FindImage on it.
    
    	* backends/mono/MonoLanguageBackend.cs
    	(MonoLanguageBackend.get_DebuggerBackend): nuke.
    	(MonoLanguageBackend.get_SourceFileFactory): new property.
    	(MonoLanguageBackend.FindImage): new function.  actually cause the
    	assembly to be loaded by the inferior.
    	
    	* backends/mono/MonoSymbolFile.cs (MonoMethod.Load): pass the
    	SourceFileFactory to MonoMethodSource..ctor instead of the
    	DebuggerBackend, since the SourceFileFactory is all that's used
    	anyway.
    	(MonoMethod.get_DeclaringType): don't return null, return
    	decl_type.
    	(MonoMethodSource..ctor): take SourceFileFactory instead of
    	DebuggerBackend.
    
    
    svn path=/trunk/debugger/; revision=42818
  4. 2005-04-11 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 12, 2005
    	* frontend/Command.cs (EventHandleCommand): split out this
    	behavior from BreakpointEnableCommand, since it really annoys me
    	to have BreakpointDisableCommand subclassing from
    	BreakpointEnableCommand.
    	(BreakpointDisableCommand): subclass from EventHandleCommand.
    	(BreakpointEnableCommand): same.
    	(BreakpointDeleteCommand): same.
    
    
    svn path=/trunk/debugger/; revision=42816
  5. 2005-04-11 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 12, 2005
    	* configure.in: fix the AM_CONDITIONAL for BFD_TARGET_X86_64,
    	which (for some unknown reason) was causing the debugger to
    	configure in support for x86_64 on ubuntu 5.04 (on a p4).
    
    
    svn path=/trunk/debugger/; revision=42815
Commits on Apr 11, 2005
  1. 2005-04-11 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 11, 2005
    	* classes/TargetBinaryAccess.cs: new file, move the base class
    	stuff out of TargetBinaryReader here, as well as TargetBlob.
    
    	* classes/TargetBinaryReader.cs: inherit from TargetBinaryAccess.
    	
    	* classes/TargetBinaryWriter.cs: same.  stop inheriting from
    	Reader.
    
    
    svn path=/trunk/debugger/; revision=42812
  2. 2005-04-11 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 11, 2005
    	* frontend/Expression.cs: clean up warnings.
    
    	* frontend/CSharpTokenizer.cs: same.
    
    	* frontend/GnuReadLine.cs: same.
    
    	* frontend/Command.cs: same.
    
    	* arch/DwarfFrameReader.cs: same.
    
    	* arch/StabsReader.cs: same.
    
    	* backends/Debugger.cs: same.
    
    	* classes/ExceptionCatchPoint.cs: same.
    
    	* classes/ProcessStart.cs: same.
    
    	* classes/Module.cs: same.
    
    
    svn path=/trunk/debugger/; revision=42807
  3. Updated.

    Martin Baulig
    Martin Baulig committed Apr 11, 2005
    svn path=/trunk/debugger/; revision=42772
  4. 2005-04-11 Martin Baulig <martin@ximian.com>

    Martin Baulig
    Martin Baulig committed Apr 11, 2005
    	* arch/DwarfReader.cs: Add support for x86_64.
    
    	* arch/Bfd.cs (Bfd.GetTrampoline): Move arch-specific code into
    	IArchitecture.
    
    	* interface/IArchitecture.cs
    	(IArchitecture.GetJumpTarget): New method.
    	(IArchitecture.RegisterMap): New property.
    
    	* backends/mono/MonoSymbolFile.cs (MonoVariable.register_map):
    	Moved into IArchitecture.RegisterMap since it's arch-specific.	
    
    
    svn path=/trunk/debugger/; revision=42771
Commits on Apr 8, 2005
  1. 2005-04-08 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 8, 2005
    	* frontend/Command.cs (UpCommand, DownCommand): oops, fix these so
    	they continue to work with no arguments.
    
    
    svn path=/trunk/debugger/; revision=42705
  2. 2005-04-08 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 8, 2005
    	* Makefile.am (AM_CFLAGS): shut up automake.
    
    
    svn path=/trunk/debugger/; revision=42704
  3. 2005-04-08 Martin Baulig <martin@ximian.com>

    Martin Baulig
    Martin Baulig committed Apr 8, 2005
    	* backends/Inferior.cs (Inferior.InsertHardwareBreakpoint): Allow
    	TargetError.NotImplemented in addition to DebugRegisterOccupied.
    
    
    svn path=/trunk/debugger/; revision=42696
  4. 2005-04-08 Martin Baulig <martin@ximian.com>

    Martin Baulig
    Martin Baulig committed Apr 8, 2005
    	* arch/ArchitectureI386.cs: Renamed to Architecture_I386.cs.
    	* arch/ArchitecturePowerPC.cs: Renamed to Architecture_PowerPC.cs.
    	* arch/Architecture_X86_64.cs: New file.
    
    
    svn path=/trunk/debugger/; revision=42694
  5. 2005-04-08 Martin Baulig <martin@ximian.com>

    Martin Baulig
    Martin Baulig committed Apr 8, 2005
    	* backends/server/x86_arch.[ch]: New files.
    
    
    svn path=/trunk/debugger/; revision=42693
  6. 2005-04-08 Martin Baulig <martin@ximian.com>

    Martin Baulig
    Martin Baulig committed Apr 8, 2005
    	* backends/server/x86-linux-ptrace.h: Moved `INFERIOR_REGS_TYPE'
    	and the `INFERIOR_REG_*' macros into i386-arch.h.
    
    
    svn path=/trunk/debugger/; revision=42692
  7. 2005-04-08 Martin Baulig <martin@ximian.com>

    Martin Baulig
    Martin Baulig committed Apr 8, 2005
    	* configure.in: Support x86_86 in the bfd.
    
    	* arch/bfd: Added include/elf/x86-64.h, elf64-gen.c,
    	elf64-target.h and elf64.c from Binutils 2.14.
    
    
    svn path=/trunk/debugger/; revision=42691
  8. 2005-04-08 Martin Baulig <martin@ximian.com>

    Martin Baulig
    Martin Baulig committed Apr 8, 2005
    	* backends/server/i386-ptrace.c: Renamed to x86-ptrace.c.
    	* backends/server/i386-linux-ptrace.c: Renamed to x86-linux-ptrace.c.
    	* backends/server/i386-linux-ptrace.h: Renamed to x86-linux-ptrace.h.
    	* backends/server/i386-arch.h: Renamed to x86-arch.h and moved the
    	architecture-specific stuff to a new i386-arch.h.
    
    	* backends/server/x86-arch.h: Renamed `I386BreakpointInfo' to
    	`X86BreakpointInfo' and all the `i386_arch_*' functions to `x86_arch_*'.
    
    
    svn path=/trunk/debugger/; revision=42690
Commits on Apr 7, 2005
  1. 2005-04-07 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 7, 2005
    	* arch/StabsReader.cs (MyVariable..ctor): remove spew.
    
    
    svn path=/trunk/debugger/; revision=42656
  2. 2005-04-07 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 7, 2005
    	* frontend/Command.cs (DownCommand, UpComand): add support for an
    	argument.  in the up case, it increments
    	process.CurrentFrameIndex.  In the down case, it decrements.
    
    
    svn path=/trunk/debugger/; revision=42655
  3. 2005-04-06 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 7, 2005
    	* backends/SingleSteppingEngine.cs
    	(SingleSteppingEngine.Interrupt): let's be a little less flowery,
    	shall we?
    
    
    svn path=/trunk/debugger/; revision=42619
  4. 2005-04-06 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 7, 2005
    	* classes/StackFrame.cs (StackFrame.check_disposed): let's be a
    	little less flowery, shall we?
    
    
    svn path=/trunk/debugger/; revision=42618
  5. 2005-04-06 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 7, 2005
    	[ fixes bug #74469 ]
    	* frontend/Command.cs (HelpCommand.Execute): if there are no
    	commands in a family, say that and return.  don't crash.
    	(LibraryCommand.Complete): do arg/filename completion.
    
    svn path=/trunk/debugger/; revision=42617
Commits on Apr 4, 2005
  1. 2005-04-04 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 4, 2005
            * backends/mono/MonoFundamentalType.cs: use the protected
            "type_info" field instead of CreateTypeInfo, since the latter
            gives us hashtable assertions about duplicate key insertion.  This
            fixes passing fundamental objects (ints, floats, shorts, etc) to
            methods using the "call" command.
    
    
    svn path=/trunk/debugger/; revision=42544
Commits on Apr 3, 2005
  1. 2005-04-02 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Apr 3, 2005
            * backends/mono/MonoLanguageBackend.cs
            (MonoLanguageBackend.CanCreateInstance): we can create an instance
            of any type we can lookup (really only fundamental types at the
            moment).
            (MonoLanguageBackend.CreateInstance): flesh out this method.
    
            * backends/mono/MonoFundamentalType.cs (.CreateInstance):
            reimplement this to create instances of fundamental types in the
            inferior from within the debugger.
    
            * backends/mono/MonoStringTypeInfo.cs: remove the CreateString
            stuff from here, and move it to MonoStringType.cs
    
            * backends/mono/MonoStringType.cs (.CreateObject,
            .CreateInstance): reimplement these, so that we can create string
            objects in the inferior process from inside the debugger.
    
    
    svn path=/trunk/debugger/; revision=42496
Commits on Mar 31, 2005
  1. oops

    Chris Toshok
    Chris Toshok committed Mar 31, 2005
    svn path=/trunk/debugger/; revision=42446
  2. 2005-03-31 Chris Toshok <toshok@ximian.com>

    Chris Toshok
    Chris Toshok committed Mar 31, 2005
            * backends/mono/MonoSymbolFile.cs (MonoMethod.get_variables): we
            need to attach liveness ranges to MonoVariables if they're
    defined
            in nested blocks regardless of whether or not local names are
            ambiguous.  This is so MonoDevelop can update the variable
    display
            and not show variables that aren't in scope.
            (MonoSymbolFile.GetMethod): remove spew.
    
            * backends/mono/MonoClassObject.cs
            * (MonoClassObject.PrintObject):
            80% implementation.  still needs some more type checking on the
            method invoked.
    
            * backends/mono/MonoLanguageBackend.cs
            (MonoBuiltinTypeInfo..ctor): read in the Exception type from
            mono_defaults.
            (MonoLanguageBackend.get_ExceptionType): implement.
    
            * frontend/Command.cs (BreakpointEnableCommand,
            BreakpointDisableCommand, BreakpointDeleteCommand): switch from
            BreakpointHandle to IEventHandle and track api change in
            Interpreter, so we can deal with both catchpoints and breakpoints.
    
            * frontend/Interpreter.cs (Interpreter.ShowBreakpoints): loop over
            all IEventHandles now, and clean up the display a bit.
            (Interpreter.GetEvent): rename GetBreakpoint to this, so it can
            refer to both catchpoints and breakpoints.
            (Interpreter.DeleteEvent): rename DeleteBreakpoint to this, so it
            can refer to both catchpoints and breakpoints.
            (Interpreter.InsertExceptionCatchPoint): EventHandle ->
            CatchpointHandle.
    
            * classes/SourceLocation.cs (SourceLocation.InsertBreakpoint):
            track change to BreakpointHandle.
    
            * classes/CatchpointHandle.cs: the majority of the old code from
            EventHandle.cs, reorganized/renamed so as to implement
            IEventHandle.
            
            * classes/BreakpointHandle.cs: reorganize/rename things a bit so
            we implement IEventHandle.
    
            * interfaces/IEventHandle.cs: move classes/EventHandle.cs here,
            and make it a general interface, implemented by both
            classes/CatchpointHandle and classes/BreakpointHandle.
    
    
    svn path=/trunk/debugger/; revision=42445