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