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