2002-03-29 Martin Baulig <martin@gnome.org>
[mono.git] / mcs / class / Mono.CSharp.Debugger / ChangeLog
1 2002-03-29  Martin Baulig  <martin@gnome.org>
2
3         * AssemblerWriterI386.cs: Rewrote most of the string output function, do the
4         number->string conversion manually. It's now taking about 15 seconds to write
5         a symbol file for MCS, no longer more than a minute.
6
7         * MonoDwarfFileWriter.cs: Added some profiling code, speeded things up, fixed
8         a few bugs.
9
10 2002-03-25  Martin Baulig  <martin@gnome.org>
11
12         * MonoDwarfFileWriter.cs (CreateType): Return a `DieType'.
13         (RegisterType): Add the type to the type hash before creating dependency types
14         so we don't get recursion loops.
15         (RegisterPointerType): New func to register a "pointer to type" type.
16         (DieTypeDef, DiePointerType, DieArrayType, DieStringType, DieClassType): New
17         types; added support for strings, arrays and basic support for classes.
18         
19 2002-03-24  Martin Baulig  <martin@gnome.org>
20
21         * IMonoSymbolWriter.cs: Killed all methods in this interface, no longer needed.
22
23         * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now takes a string
24         argument which is the full pathname of the assembly - you must call Close()
25         after the assembly has been written to disk since the symbol writer needs to
26         load the finished assembly to get its metadata.
27
28         * MonoDwarfFileWriter.cs: Added support for enums and structs.
29         
30 2002-03-24  Martin Baulig  <martin@gnome.org>
31
32         * MonoDwarfFileWriter.cs: Added support for method parameters.
33
34 2002-03-24  Martin Baulig  <martin@gnome.org>
35
36         * IMonoSymbolWriter.cs (IMonoSymbolWriter): Removed my custom OpenMethod(),
37         we're now using the ISymbolWriter's method.
38         (IVariable): Added `byte[] Signature' property.
39
40         * MonoSymbolWriter.cs (SetAssembly): New method. This must be called before
41         Close(); the assembly parameter is the already-written assembly, ie. it must
42         contain the full metadata.
43         (OpenMethod): Only take the token argument and set MethodInfo later in DoFixups.
44         (SetMethodSourceRange): You must call this function to tell the symbol writer
45         in which source file the method is defined.
46         (DefineLocal): Store the signature in the local.
47         (DoFixups): Use two new interncalls to set the SourceMethod's MethodInfo field
48         and the LocalVariable's Type field.
49
50 2002-03-23  Martin Baulig  <martin@gnome.org>
51
52         * IMonoSymbolWriter.cs (ISourceBlock): New interface.
53         (ILocalVariable): Renamed this interface to IVariable.
54         (IVariable): Added Line, Type, Token.
55         (ILocalVariable, IMethodParameter): New interfaces, derive from IVariable.
56         (ISourceMethod): Added Blocks. Renamed FirstLine and LastLine to Start and End,
57         changed their type to ISourceLine. Removed CodeSize.
58         (ISourceLine): Renamed Line to Row, added Column. Added OffsetType and Offset.
59
60         * MonoDwarfFileWriter.cs (MonoDwarfFileWriter.DieLexicalBlock): New class.
61         (MonoDwarfFileWriter.DieMethodVariable): New class.
62
63         * MonoSymbolWriter.cs (OpenScope, CloseScope): Implemented.
64         Reflected latest IMonoSymbolWriter interface changes.
65
66 2002-03-20  Martin Baulig  <martin@gnome.org>
67
68         * IAssemblerWriter.cs: New interface.
69
70         * AssemblerWriterI386.cs: New class.
71
72         * MonoDwarfFileWriter.cs: Use the IAssemblerWriter interface to make this class
73         platform and assembler independent.
74
75 2002-03-20  Martin Baulig  <martin@gnome.org>
76
77         * IMonoSymbolWriter.cs (ISourceMethod): Added FirstLine, LastLine, CodeSize and
78         Token properties.
79
80         * MonoDwarfFileWriter.cs: Implemented line number support.
81
82 2002-03-19  Martin Baulig  <martin@gnome.org>
83
84         * IMonoSymbolWriter.cs (ISourceFile, ISourceMethod, ISourceLine, ILocalVariable):
85         New interfaces.
86
87         * IMonoSymbolWriter.cs (OpenMethod): Take a System.Reflection.MethodInfo, not
88         a string.
89
90 2002-03-19  Martin Baulig  <martin@gnome.org>
91
92         This is an implementation of the System.Diagnostics.SymbolStore.SymbolWriter
93         interface. It's still work in progress and not yet used anywhere.
94
95         There is some preliminary documentation in the source files and some more
96         docu in the README and README.relocation-table files.
97
98         * IMonoSymbolWriter.cs: New file.
99         * MonoDwarfFileWriter.cs: New file.
100         * MonoSymbolDocumentWriter.cs: New file.
101         * MonoSymbolWriter.cs: New file.
102
103         * README, README.relocation-table: Documentation.
104