Permalink
Commits on Jul 13, 2005
  1. initial (uncompiling) conversion to Cecil

    svn path=/branches/debugger-cecil/; revision=47286
    Chris Toshok committed Jul 13, 2005
  2. Added a few comments.

    svn path=/trunk/debugger/; revision=47275
    Martin Baulig committed Jul 13, 2005
  3. 2005-07-13 Martin Baulig <martin@ximian.com>

    	* backends/server/x86-ptrace.c
    	(server_ptrace_finalize): Don't call do_wait() here.
    	(server_ptrace_kill): Add error checking; note that this function
    	must only be called from the inferior thread, it is in no way
    	different from the other ptrace() functions.
    	(io_thread): exit on error.
    
    	* backends/ThreadManager.cs (ThreadManager.Kill): Removed.
    	(engine_thread_main): Call `the_engine.Kill' on `abort_requested';
    	this'll actually kill the target and also make the wait thread
    	wake up from waitpid().
    	(ThreadManager.Dispose): Don't actually kill any processes here;
    	just set the `abort_requested' flag and join the `inferior_thread'
    	and the `wait_thread' - after they exited, the target is gone and
    	we can Dispose() everything.
    
    
    svn path=/trunk/debugger/; revision=47273
    Martin Baulig committed Jul 13, 2005
  4. Small fix; don't crash here if we're already disposed.

    svn path=/trunk/debugger/; revision=47272
    Martin Baulig committed Jul 13, 2005
Commits on Jul 12, 2005
  1. eh, indentation

    svn path=/trunk/debugger/; revision=47239
    Chris Toshok committed Jul 12, 2005
  2. 2005-07-12 Martin Baulig <martin@ximian.com>

    	* wrapper/Makefile.am: Install the `mono-debugger-mini-wrapper' in
    	the same directory than the `Mono.Debugger.dll'
    	($(prefix)/lib/mono/1.0).
    
    	* classes/ProcessStart.cs: Assume that the wrapper is in the same
    	directory than the Mono.Debugger.dll.
    
    
    svn path=/trunk/debugger/; revision=47235
    Martin Baulig committed Jul 12, 2005
  3. 2005-07-12 Martin Baulig <martin@ximian.com>

    	* wrapper/Makefile.am: Install the `mono-debugger-mini-wrapper' in
    	the same directory than the `Mono.Debugger.dll'
    	($(prefix)/lib/mono/1.0).
    
    	* classes/ProcessStart.cs: Assume that the wrapper is in the same
    	directory than the Mono.Debugger.dll.
    
    
    svn path=/trunk/debugger/; revision=47234
    Martin Baulig committed Jul 12, 2005
Commits on Jul 7, 2005
  1. 2005-07-07 Chris Toshok <toshok@ximian.com>

    	* configure.in, acinclude.m4: remove the optional nature of the
    	readline dep.  you must either have readline or libedit.
    
    
    svn path=/trunk/debugger/; revision=47074
    Chris Toshok committed Jul 7, 2005
  2. 2005-07-07 Chris Toshok <toshok@ximian.com>

    	* backends/SingleSteppingEngine.cs: switch a few things from
    	referencing the ThreadManager directly.  Also, dispose of the
    	Process in our Dispose() method.
    
    	* backends/ThreadManager.cs (Dispose): let's just dispose of the
    	BreakpointManager and SingleSteppingEngine while we're at it,
    	shall we?
    
    
    svn path=/trunk/debugger/; revision=47073
    Chris Toshok committed Jul 7, 2005
  3. reindent

    svn path=/trunk/debugger/; revision=47071
    Chris Toshok committed Jul 7, 2005
  4. 2005-07-07 Chris Toshok <toshok@ximian.com>

    	* backends/native/NativeStructType.cs (NativeStructMember.Handle):
    	remove.
    
    	* backends/mono/MonoMember.cs (MonoMember.Handle): remove.
    
    	* interfaces/ITargetStructType.cs (ITargetMemberInfo): Remove the
    	abstraction breaking Handle property.
    
    
    svn path=/trunk/debugger/; revision=47070
    Chris Toshok committed Jul 7, 2005
  5. oops, actually commit the Enumerator stuff

    svn path=/trunk/debugger/; revision=47069
    Chris Toshok committed Jul 7, 2005
  6. 2005-07-07 Chris Toshok <toshok@ximian.com>

    	* backends/native/NativeStructType.cs (NativeStructMember.Handle):
    	remove.
    
    	* backends/mono/MonoMember.cs (MonoMember.Handle): remove.
    
    	* interfaces/ITargetStructType.cs (ITargetMemberInfo): Remove the
    	abstraction breaking Handle property.
    
    
    svn path=/trunk/debugger/; revision=47068
    Chris Toshok committed Jul 7, 2005
  7. 2005-07-07 Chris Toshok <toshok@ximian.com>

    	* backends/mono/MonoLanguageBackend.cs (TryFindImage): Rename
    	FindImage to this, return true if loading the assembly was
    	successful.
    
    	* backends/Debugger.cs: push anything dealing with Assembly
    	loading down into MonoLanguageBackend.
    
    
    svn path=/trunk/debugger/; revision=47067
    Chris Toshok committed Jul 7, 2005
  8. 2005-07-06 Chris Toshok <toshok@ximian.com>

    	* backends/Debugger.cs (DebuggerBackend.Dispose): dispose of all
    	our ILanguages.
    
    	* backends/mono/MonoLanguageBackend.cs (MonoLanguageBackend): add
    	IDisposable implementation, specifically disposing of the
    	MonoSymbolFile's, which fixes bug #75201.
    
    	* backends/native/NativeLanguage.cs (NativeLanguage): add
    	IDisposable implementation.
    
    	* interfaces/ILanguage.cs (ILanguage): languages must implement
    	IDisposable.
    
    
    svn path=/trunk/debugger/; revision=47021
    Chris Toshok committed Jul 7, 2005
Commits on Jul 6, 2005
  1. 2005-07-06 Chris Toshok <toshok@ximian.com>

    	* interfaces/ITargetStructType.cs (ITargetFieldInfo): add
    	HasConstValue property and GetConstValue method to fix the build.
    
    
    svn path=/trunk/debugger/; revision=47018
    Chris Toshok committed Jul 6, 2005
  2. 2005-07-05 Chris Toshok <toshok@ximian.com>

    	* backends/mono/MonoMember.cs (MonoFieldInfo): add implementations
    	of HasConstValue and GetConstValue from ITargetFieldInfo.
    
    	* backends/native/NativeEnumType.cs (NativeEnumType..ctor): use
    	the new NativeFieldInfo ctor.
    
    	* backends/native/NativeStructType.cs (NativeFieldInfo): add a new
    	ctor for fields that have constant values (right now only used by
    	enums), and add the ITargetFieldInfo "HasConstValue" and
    	"GetConstValue" implementations.
    
    	* frontend/Style.cs (StyleBase): make interpreter protected.
    	(StyleNative.FormatEnumMember): make this code work for both
    	native and managed enum types (although the native backend doesn't
    	provide the needed hooks as yet.)
    
    	* interfaces/ITargetStructType.cs (ITargetFieldInfo): add
    	HasConstValue property and GetConstValue method.
    
    
    svn path=/trunk/debugger/; revision=46983
    Chris Toshok committed Jul 6, 2005
  3. 2005-07-05 Chris Toshok <toshok@ximian.com>

    	* backends/native/Makefile.am (EXTRA_DIST): add
    	NativeEnum{Object,Type}.cs
    
    	* backends/native/NativeEnumObject.cs,
    	backends/native/NativeEnumType.cs: barebones native support for
    	enumerated types.
    
    	* arch/DwarfReader.cs: add support for enumerator and
    	enumeration_type DIE's.
    
    
    svn path=/trunk/debugger/; revision=46982
    Chris Toshok committed Jul 6, 2005
Commits on Jul 5, 2005
  1. Merged up revision 46980

            * mono-debugger-mini-wrapper: Make finding it relocatable
            
    
    
    svn path=/trunk/debugger/; revision=46981
    Wade Berrier committed Jul 5, 2005
  2. 2005-07-05 Chris Toshok <toshok@ximian.com>

    	* backends/mono/MonoArrayTypeInfo.cs: remove unused using.
    
    	* backends/mono/MonoClassInfo.cs: remove the MonoClassType. prefix
    	from MonoFieldInfo, MonoMethodInfo, and MonoPropertyInfo.
    
    	* backends/mono/MonoClassType.cs: split out all the
    	Member/Field/Property/Event classes from here.
    
    	* backends/mono/MonoMember.cs: and put them here.  Also,
    	MonoStructMember -> MonoMember, and make MonoMember not depend on
    	a MonoStructType, since it's also used for enums.
    
    	* backends/mono/MonoSymbolFile.cs: return a MonoEnumType if
    	type.IsEnum == true.
    
    	* backends/mono/Makefile.am (EXTRA_DIST): add the new Enum files
    	and MonoMember.cs.
    
    	* backends/mono/MonoEnumTypeInfo.cs,
    	backends/mono/MonoEnumType.cs, backends/mono/MonoEnumObject.cs:
    	add new enum support.
    
    
    svn path=/trunk/debugger/; revision=46978
    Chris Toshok committed Jul 5, 2005
  3. 2005-07-05 Chris Toshok <toshok@ximian.com>

    	* frontend/Style.cs (StyleNative.FormatObject): add (obj is
    	ITargetEnumType) block, which calls FormatEnumType.
    	(StyleNative.FormatEnumMember): new function, give both the
    	symbolic and numeric value.
    	(StyleNative.FormatType): add TargetObjectKind.Enum case.
    	(StyleNative.FormatEnumType): just print "enum <etype.Name>"
    	(StyleNative.DoFormatObject): add TargetObjectKind.Enum case.
    
    	* interfaces/TargetObjectKind.cs (enum TargetObjectKind): add
    	Enum.
    
    	* interfaces/ITargetEnum{Type,Object}.cs: new interfaces for
    	enumerated types/objects.
    
    	* interfaces/Makefile.am (EXTRA_DIST): Add
    	ITargetEnum{Type,Object}.cs
    
    
    svn path=/trunk/debugger/; revision=46977
    Chris Toshok committed Jul 5, 2005
  4. * DllImport: (merged up r46954)

           Copy what gtk-sharp does for importing glib-2.0:
           - add dllmap to Mono.Debugger.dll.config
           Remove dllmap for monodebuggerderver since it will be located by
           ldconfig's cache or LD_LIBRARY_PATH
    
    
    
    svn path=/trunk/debugger/; revision=46960
    Wade Berrier committed Jul 5, 2005
Commits on Jul 1, 2005
  1. 2005-07-01 Chris Toshok <toshok@ximian.com>

    	* backends/classes/Utils.cs: rewrite this to remove the dep on
    	g_file_get_contents.
    
    
    svn path=/trunk/debugger/; revision=46856
    Chris Toshok committed Jul 1, 2005
Commits on Jun 28, 2005
  1. 2005-06-28 Chris Toshok <toshok@ximian.com>

    	* backends/mono/MonoFundamentalObjectBase.cs
    	(MonoFundamentalObjectBase.SetObject): remove workaround for
    	75270.
    
    	* backends/mono/MonoStringObject.cs (MonoStringObject.SetObject):
    	remove workaround for 75270.
    
    
    svn path=/trunk/debugger/; revision=46688
    Chris Toshok committed Jun 28, 2005
Commits on Jun 25, 2005
  1. 2005-06-25 Chris Toshok <toshok@ximian.com>

    	* frontend/Expression.cs (SimpleNameExpression.DoResolve): use a
    	gdb message here since it's a little clearer (and doesn't contain
    	a typo, to boot).
    
    	* frontend/Style.cs (StyleNative.DoFormatObject): clean up the
    	array formatting a bit so it doesn't look so jammed together.
    
    
    svn path=/trunk/debugger/; revision=46506
    Chris Toshok committed Jun 25, 2005
Commits on Jun 23, 2005
  1. Disable NTPL check

    svn path=/trunk/debugger/; revision=46451
    Wade Berrier committed Jun 23, 2005
Commits on Jun 22, 2005
  1. 2005-06-22 Chris Toshok <toshok@ximian.com>

    	* backends/native/Makefile.am (EXTRA_DIST): add NativeArrayType.cs
    	/ NativeArrayObject.cs
    
    	* arch/DwarfReader.cs (DwarfReader.DwarfTag): add the rest of the
    	DWARF tags.
    	(DwarfReader.DwarfInline): add this enum.
    	(DwarfReader+LineNumberEngine.GetSource): change the type of the
    	first arg to DieSubprogram.
    	(DwarfReader+Die.CreateDie): add support for array_type and
    	subrange_type.
    	(DwarfReader+DieSubrangeType): new class.
    	(DwarfReader+DieArrayType): new class.
    	(backends/native/NativeArrayType,
    	backends/native/NativeArrayObject): add support for native arrays.
    
    
    svn path=/trunk/debugger/; revision=46357
    Chris Toshok committed Jun 22, 2005
Commits on Jun 20, 2005
  1. 2005-06-20 Chris Toshok <toshok@ximian.com>

    	* backends/mono/MonoSymbolFile.cs: Add IDisposable interface so we
    	can explicitly deallocate things.  Dispose of the
    	CompilerServices.MonoSymbolFile in the implementation.
    
    
    svn path=/trunk/debugger/; revision=46267
    Chris Toshok committed Jun 20, 2005
  2. 2005-06-20 Chris Toshok <toshok@ximian.com>

    	* backends/mono/MonoStringObject.cs (MonoStringObject.SetObject):
    	fix bug #75272 by extending the workaround for #75270.  Cut and
    	paste the implementation from MonoObject here, as the empty NYI
    	implementation in MonoFundamentalObjectBase (which is the
    	workaround for 75270) overrides the MonoObject impl.
    
    
    svn path=/trunk/debugger/; revision=46264
    Chris Toshok committed Jun 20, 2005
Commits on Jun 16, 2005
  1. Add x86_64 files for make dist and change $(libdir) to $(prefix)/lib for

    mono libs
    
    svn path=/trunk/debugger/; revision=46111
    Wade Berrier committed Jun 16, 2005
Commits on Jun 15, 2005
  1. Add GACUTIL flags do the .dll would get installed

    svn path=/trunk/debugger/; revision=46071
    Wade Berrier committed Jun 15, 2005
  2. amd64 fix

    svn path=/trunk/debugger/; revision=46069
    Ben Maurer committed Jun 15, 2005
  3. 2005-06-14 Chris Toshok <toshok@ximian.com>

    	* arch/DwarfReader.cs (DwarfReader.DwarfAttributes): flesh out the
    	rest of the attributes from the spec.
    
    
    svn path=/trunk/debugger/; revision=46003
    Chris Toshok committed Jun 15, 2005
  4. 2005-06-14 Chris Toshok <toshok@ximian.com>

    	* backends/mono/MonoFundamentalObjectBase.cs
    	(MonoFundamentalObjectBase.SetObject): new method, here only as a
    	workaround for bug #75270.
    
    	* interfaces/ITargetFundamentalObject.cs
    	(ITargetFundamentalObject.SetObject): new method.
    
    	* frontend/Expression.cs (StructAccessExpression.SetStaticField,
    	StructAccessExpression.SetField): setters for fields (fundamental
    	types only for now.)
    	(StructAccessExpression.DoAssign): implement for fields.
    	(ArrayAccessExpression.DoAssign): implement for array[int].
    
    
    svn path=/trunk/debugger/; revision=46002
    Chris Toshok committed Jun 15, 2005
Commits on Jun 13, 2005
  1. add files to CLEANFILES to fix distcheck

    svn path=/trunk/debugger/; revision=45919
    Chris Toshok committed Jun 13, 2005