1 2002-05-22 Martin Baulig <martin@gnome.org>
3 * IMonoSymbolWriter.cs (IVariable): Replaced Token with `ISourceMethod Method'.
5 * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now has an additional
6 ModuleBuilder argument.
7 (OpenMethod): Immediately call the `get_method' interncall to get the MethodBase
8 from the token, then store the MethodBase instead of the token. The token may
9 still change during the metadata library's fixup process.
10 (DoFixups): When the image has been written to disk, call the GetToken () method
11 on all MethodBuilders and all ConstructorBuilders to get the final metadata tokens.
13 2002-05-22 Martin Baulig <martin@gnome.org>
15 * AssemblerWriterI386.cs: Don't use GNU extensions and produce assembler
16 output which is free of comments and extra whitespaces so that it's suitable
19 2002-05-22 Martin Baulig <martin@gnome.org>
21 * IMonoSymbolWriter.cs (ISourceMethod): Replaced `MethodInfo MethodInfo' with
22 `MethodBase MethodBase' and added `Type ReturnType'. We're now correctly
23 dealing with constructors and not crashing anymore.
25 2002-05-21 Martin Baulig <martin@gnome.org>
27 * MonoDwarfFileWriter.cs: Write a special line number table which can be read
28 in by the metadata library to get line number information in backtraces.
30 2002-05-06 Martin Baulig <martin@gnome.org>
32 * MonoSymbolWriter.cs (MonoSymbolWriter.Close): Use Assembly.LoadFrom (), not
33 AppDomain.Load () to load the assembly.
35 2002-04-26 Martin Baulig <martin@gnome.org>
37 * gdb-csharp-support.patch: A patch for GDB (against the latest CVS version)
38 to implement C# support.
40 * csharp-lang.c, csharp-lang.h, csharp-mono-lang.c: Copy these into your GDB
41 source directory after applying the patch.
43 2002-04-26 Martin Baulig <martin@gnome.org>
45 * MonoDwarfFileWriter.cs (DieInternalString): Removed.
47 2002-04-25 Martin Baulig <martin@gnome.org>
49 * MonoDwarfFileWriter.cs: Reflect latest MonoString changes.
51 2002-04-13 Martin Baulig <martin@gnome.org>
53 * IMonoSymbolWriter.cs (ISourceBlock): Added `Blocks' property and `AddBlock'
54 method to support nested blocks.
56 * MonoSymbolWriter.cs: Correctly handle nested blocks.
58 * MonoDwarfFileWriter.cs (DieMember): Provide info for all fields, not just for
59 public ones; also added DW_AT_accessibility.
60 (DieVariable): Reflected latest debug-symfile.c changes.
62 2002-04-12 Martin Baulig <martin@gnome.org>
64 * gdb-variable-scopes.patch: A patch for GDB (against the latest CVS version)
65 to implement variable lifetimes.
67 2002-04-12 Martin Baulig <martin@gnome.org>
69 * MonoDwarfFileWriter.cs (DieVariable): Provide info about the variable's
70 lifetime using DW_AT_begin_scope and a new baulig extension DW_AT_end_scope.
72 2002-03-29 Martin Baulig <martin@gnome.org>
74 * AssemblerWriterI386.cs: Rewrote most of the string output function, do the
75 number->string conversion manually. It's now taking about 15 seconds to write
76 a symbol file for MCS, no longer more than a minute.
78 * MonoDwarfFileWriter.cs: Added some profiling code, speeded things up, fixed
81 2002-03-25 Martin Baulig <martin@gnome.org>
83 * MonoDwarfFileWriter.cs (CreateType): Return a `DieType'.
84 (RegisterType): Add the type to the type hash before creating dependency types
85 so we don't get recursion loops.
86 (RegisterPointerType): New func to register a "pointer to type" type.
87 (DieTypeDef, DiePointerType, DieArrayType, DieStringType, DieClassType): New
88 types; added support for strings, arrays and basic support for classes.
90 2002-03-24 Martin Baulig <martin@gnome.org>
92 * IMonoSymbolWriter.cs: Killed all methods in this interface, no longer needed.
94 * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now takes a string
95 argument which is the full pathname of the assembly - you must call Close()
96 after the assembly has been written to disk since the symbol writer needs to
97 load the finished assembly to get its metadata.
99 * MonoDwarfFileWriter.cs: Added support for enums and structs.
101 2002-03-24 Martin Baulig <martin@gnome.org>
103 * MonoDwarfFileWriter.cs: Added support for method parameters.
105 2002-03-24 Martin Baulig <martin@gnome.org>
107 * IMonoSymbolWriter.cs (IMonoSymbolWriter): Removed my custom OpenMethod(),
108 we're now using the ISymbolWriter's method.
109 (IVariable): Added `byte[] Signature' property.
111 * MonoSymbolWriter.cs (SetAssembly): New method. This must be called before
112 Close(); the assembly parameter is the already-written assembly, ie. it must
113 contain the full metadata.
114 (OpenMethod): Only take the token argument and set MethodInfo later in DoFixups.
115 (SetMethodSourceRange): You must call this function to tell the symbol writer
116 in which source file the method is defined.
117 (DefineLocal): Store the signature in the local.
118 (DoFixups): Use two new interncalls to set the SourceMethod's MethodInfo field
119 and the LocalVariable's Type field.
121 2002-03-23 Martin Baulig <martin@gnome.org>
123 * IMonoSymbolWriter.cs (ISourceBlock): New interface.
124 (ILocalVariable): Renamed this interface to IVariable.
125 (IVariable): Added Line, Type, Token.
126 (ILocalVariable, IMethodParameter): New interfaces, derive from IVariable.
127 (ISourceMethod): Added Blocks. Renamed FirstLine and LastLine to Start and End,
128 changed their type to ISourceLine. Removed CodeSize.
129 (ISourceLine): Renamed Line to Row, added Column. Added OffsetType and Offset.
131 * MonoDwarfFileWriter.cs (MonoDwarfFileWriter.DieLexicalBlock): New class.
132 (MonoDwarfFileWriter.DieMethodVariable): New class.
134 * MonoSymbolWriter.cs (OpenScope, CloseScope): Implemented.
135 Reflected latest IMonoSymbolWriter interface changes.
137 2002-03-20 Martin Baulig <martin@gnome.org>
139 * IAssemblerWriter.cs: New interface.
141 * AssemblerWriterI386.cs: New class.
143 * MonoDwarfFileWriter.cs: Use the IAssemblerWriter interface to make this class
144 platform and assembler independent.
146 2002-03-20 Martin Baulig <martin@gnome.org>
148 * IMonoSymbolWriter.cs (ISourceMethod): Added FirstLine, LastLine, CodeSize and
151 * MonoDwarfFileWriter.cs: Implemented line number support.
153 2002-03-19 Martin Baulig <martin@gnome.org>
155 * IMonoSymbolWriter.cs (ISourceFile, ISourceMethod, ISourceLine, ILocalVariable):
158 * IMonoSymbolWriter.cs (OpenMethod): Take a System.Reflection.MethodInfo, not
161 2002-03-19 Martin Baulig <martin@gnome.org>
163 This is an implementation of the System.Diagnostics.SymbolStore.SymbolWriter
164 interface. It's still work in progress and not yet used anywhere.
166 There is some preliminary documentation in the source files and some more
167 docu in the README and README.relocation-table files.
169 * IMonoSymbolWriter.cs: New file.
170 * MonoDwarfFileWriter.cs: New file.
171 * MonoSymbolDocumentWriter.cs: New file.
172 * MonoSymbolWriter.cs: New file.
174 * README, README.relocation-table: Documentation.