2004-08-27 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / class / Mono.CSharp.Debugger / ChangeLog
1 2004-08-27  Martin Baulig  <martin@ximian.com>
2
3         * MonoSymbolFile.cs (MonoDebuggerSupport.GetGuid): The function is
4         called Module.Mono_GetGuid(), not Module.MonoDebugger_GetGuid().
5
6 2004-07-30  Martin Baulig  <martin@ximian.com>
7
8         The library is now called Mono.CompilerServices.SymbolWriter.dll
9         and is in the Mono.CompilerServices.SymbolWriter namespace.
10
11         * MonoSymbolFile.cs (MonoDebuggerSupport.GetGuid): New public
12         static method.
13         (MonoSymbolFile.WriteString): Use the BinaryWriter's method.
14         (MonoSymbolFile.ReadString): Use the BinaryReader's method.
15         (MonoSymbolFile.Write): Write the module's Guid into the symbol
16         file.
17
18         * MonoSymbolTable.cs, MonoSymbolWriter.cs: Reworked the API.
19
20 2004-07-27  Martin Baulig  <martin@ximian.com>
21
22         * MonoSymbolFile.cs (MonoSymbolFile.Write): Sort the methods
23         according to their token values.
24         (MonoSymbolFile.ReadSymbolFile): Support reading the debugging
25         information from an external ".mdb" file.
26
27         * MonoSymbolTable.cs
28         (SourceFileEntry): Make the .ctor protected, not internal.
29         (SourceFileEntry.DefineMethod): This is no longer specific to
30         System.Reflection(.Emit).
31         (MethodEntry): We don't need the class and parameter types, the
32         JIT is already getting this information automatically.
33         (MethodEntry.ClassTypeIndex): Make this obsolete.
34         (MethodEntry.ParamTypeIndicies): Likewise.
35
36 2004-07-02  Raja R Harinath  <rharinath@novell.com>
37
38         * Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
39         (LIBRARY_COMPILE): Simplify.
40
41 2004-06-24  Raja R Harinath  <rharinath@novell.com>
42
43         * Makefile (LIBRARY_COMPILE): Only define for W32.
44
45 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
46
47         * Makefile: build using mcs on windows.
48
49 2004-06-19  Martin Baulig  <martin@ximian.com>
50
51         * MonoSymbolTable.cs
52         (SourceFileTable.Namespaces): New public property.
53
54 2004-06-02  Martin Baulig  <martin@ximian.com>
55
56         Set version number to 37.
57
58 2004-05-23 Ben Maurer  <bmaurer@users.sourceforge.net>
59
60         * MonoSymbolTable.cs (BuildLineNumberTable): Avoid arraylist.
61
62 2004-01-16  Martin Baulig  <martin@ximian.com>
63
64         Set version number to 36.
65
66         * MonoSymbolFile.cs (MonoSymbolFile): Removed 'FindMethod' and
67         'MethodLookup'.
68
69         * MonoSymbolTable.cs (MethodEntry): Don't write the method's full
70         name into the symbol file.
71
72 2004-01-16  Martin Baulig  <martin@ximian.com>
73
74         * MonoSymbolFile.cs (MonoDebuggerSupport): As suggested by Ben
75         Maurer, create a delegate type for each of the methods and then
76         store the method.
77
78 2004-01-15  Martin Baulig  <martin@ximian.com>
79
80         * MonoSymbolFile.cs (MonoDebuggerSupport): New public class
81         containing static wrappers for calling the `MonoDebugger_*'
82         function in S.R.Assembly.
83
84 2004-01-13  Martin Baulig  <martin@ximian.com>
85
86         * MonoSymbolTable.cs: Added more #region's and a comment at the
87         top of the file.
88
89         * MonoSymbolWriter.cs (SourceMethod.BuildLineNumberTable): Removed
90         it here since it's in MethodEntry again.
91
92 2004-01-13  Martin Baulig  <martin@ximian.com>
93
94         * ChangeLog, MonoSymbolTable.cs: Reviewed Ben's patches.  For
95         those which are not ok, I'll add detailed comments to the source
96         code.   
97
98 2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>
99
100         [Revision 1.41, not approved.  Martin]
101         * MonoSymbolTable.cs (MethodEntry): kill more
102         useless fields.
103
104 2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>
105
106         [Revision 1.40, not approved.  Martin]
107         * MonoSymbolTable.cs (MethodEntry): Remove the
108         SourceFileIndex field, we already have the info.
109
110 2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>
111
112         [Revision 1.39, approved.  Martin]
113         * MonoSymbolTable.cs: Don't make the MethodIndexEntry
114         part of the method entry class, because it just
115         takes up extra space.
116
117 2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>
118
119         [Revisions 1.37 and 1.38; not approved.  Martin]
120         * MonoSymbolTable.cs (MethodEntry.BuildLineNumberTable): Removed.
121
122         * MonoSymbolTable.cs, MonoSymbolWriter.cs: Use
123         fewer arrays, dont use arraylists with structs.
124
125 2003-12-27 Ben Maurer  <bmaurer@users.sourceforge.net>
126
127         * MonoSymbolFile.cs: Much, much better string writing.
128
129 2003-12-20 Ben Maurer  <bmaurer@users.sourceforge.net>
130
131         [Revision 1.36, approved.  Martin]
132         * MonoSymbolTable.cs: Fewer StringBuilder allocs.
133
134 2003-12-08  Zoltan Varga  <vargaz@freemail.hu>
135
136         * MonoSymbolWriter.cs: Create ArrayLists only when needed.
137
138 2003-12-07 Ben Maurer  <bmaurer@users.sourceforge.net>
139
140         [Revision 1.35, approved.  Martin]
141         * MonoSymbolTable.cs: It is faster to do a linear search
142         than it is to make a hashtable. Even though the linear
143         search is O(n^2) while the hashtable is O(n), the allocation
144         cost for a hashtable is *very* high, especially when only
145         a few members will be added.
146
147 2003-09-06  Martin Baulig  <martin@ximian.com>
148
149         * MonoSymbolFile.cs: Removed debugging output.
150
151 2003-08-05  Martin Baulig  <martin@ximian.com>
152
153         * MonoSymbolTable.cs (MethodEntry.Index): New public field.
154
155 2003-06-27  Zoltan Varga  <vargaz@freemail.hu>
156
157         * MonoSymbolWriter.cs: Enable calling of DefineDocument multiple
158         times with the same URL.
159
160 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
161
162         * MonoSymbolFile.cs: Fix off-by-one error.
163
164 2003-03-22  Martin Baulig  <martin@ximian.com>
165
166         * MonoSymbolTable.cs (MethodEntry.LocalNamesAmbiguous): New public
167         field.  Specifies whether two local variables have the same name.
168
169 2003-03-13  Martin Baulig  <martin@ximian.com>
170
171         Added basic support for lexical scopes.  This is just to tell a
172         debugger that a local variable is only available in a specific
173         lexical scope and that another variable of the same name may exist
174         in another lexical scope.  See debugger/test/TestLexicalScope.cs
175         for examples.
176
177         * MonoSymbolTable.cs (LexicalScopeEntry): New class.
178         (LocalVariableEntry): Added `BlockIndex' field which specifies the
179         lexical scope of this variable.
180
181         * MonoSymbolWriter.cs (SourceBlock): Removed, we're now using
182         LexicalScopeEntry instead.
183
184 2003-02-22  Martin Baulig  <martin@ximian.com>
185
186         * MonoSymbolTable.cs: Incremented version number.
187
188 2003-02-22  Martin Baulig  <martin@ximian.com>
189
190         * MonoSymbolFile.cs (MonoSymbolFile.FindMethod): Fixed a bug.
191         (MonoSymbolFile.MethodLookup): New method.
192
193 2003-02-18  Martin Baulig  <martin@ximian.com>
194
195         * MonoSymbolFile.cs (MonoSymbolFile.GetMethod): Added overloaded
196         version which takes a MethodBase.
197
198 2003-02-18  Martin Baulig  <martin@ximian.com>
199
200         * MonoSymbolTable.cs (MethodIndexEntry): New public struct.
201
202         * MonoSymbolFile.cs (MonoSymbolFile.GetMethodByToken): New method.
203
204 2003-02-18  Martin Baulig  <martin@ximian.com>
205
206         * MonoSymbolFile.cs (MonoSymbolFile.Assembly): New public property.
207
208         * MonoSymbolTable.cs (MethodEntry.MethodBase): New public property.
209         (MethodEntry.LocalTypes): New public variable.
210
211 2003-02-18  Martin Baulig  <martin@ximian.com>
212
213         * MonoSymbolFile.cs (MethodEntry.ThisTypeIndex): Renamed to
214         ClassTypeIndex; provide this for all methods so we can get the
215         class of static methods.
216
217 2003-02-10  Nick Drochak  <ndrochak@gol.com>
218
219         * Mono.CSharp.Debugger.build: passing the /r using an 'arg' node works.
220         The <include> node wasn't getting to the compiler. This fixes build
221         breakage on cygwin.
222
223         * MonoSymbolFile.cs: Qualify which Min method. Fixes build breakage
224         on cygwin.
225
226 2003-02-09  Martin Baulig  <martin@ximian.com>
227
228         * MonoSymbolWriter.cs (MonoSymbolWriter.ctor): We don't need the
229         `mbuilder_array' anymore.
230
231 2003-02-09  Martin Baulig  <martin@ximian.com>
232
233         * MonoSymbolWriter.cs (SourceFile): Derive from SourceFileEntry.
234         (SourceBlock): We don't need source lines here.
235         (SourceMethod): We're always constructed with source info.
236
237         * MonoSymbolTable.cs: Added support for namespaces.
238         (NamespaceEntry): New struct.
239         (SourceFileEntry.DefineNamespace): New method.
240         (MethodEntry.BuildLineNumberTable): The table is already sorted,
241         so we don't need to do this here.
242
243 2003-02-09  Martin Baulig  <martin@ximian.com>
244
245         * IMonoSymbolWriter.cs: Ooops, I forgot to remove this.
246
247 2003-02-08  Martin Baulig  <martin@ximian.com>
248
249         * MonoSymbolDocumentWriter.cs: Removed.
250
251         * MonoSymbolWriter.cs (SourceFile): Implement ISymbolDocumentWriter.
252
253 2003-02-08  Martin Baulig  <martin@ximian.com>
254
255         * MonoSymbolFile.cs (GetMethodSource): New public method.
256         (FindMethod): Return the correct index.
257
258 2003-02-07  Martin Baulig  <martin@ximian.com>
259
260         * MonoSymbolFile.cs (Methods, Sources): New public properties.
261
262 2003-02-07  Martin Baulig  <martin@ximian.com>
263
264         * MonoSymbolFile.cs (MonoSymbolFile.ReadSymbolFile): New public
265         static method, returns null (without throwing an exception) if the
266         assembly doesn't have any debugging info.
267
268 2003-02-07  Martin Baulig  <martin@ximian.com>
269
270         * MonoSymbolWriter.cs (MonoSymbolWriter.Initialize): Removed the
271         custom initialization function.
272
273         * MonoSymbolTableWriter.cs: Removed; the code is now in
274         MonoSymbolFile.cs and MonoSymbolWriter.cs.
275
276 2003-02-07  Martin Baulig  <martin@ximian.com>
277
278         * MonoSymbolFile.cs: The symbol file is now a resource in the
279         assembly instead of a separate file.
280
281         * MonoSymbolTable.cs: Did a few more cleanups, sort the line
282         number table and remove duplicate line numbers.
283
284 2003-02-05  Martin Baulig  <martin@ximian.com>
285
286         Modified the symbol file format to speed up method looks by name
287         and cleaned this up a lot.
288
289         * MonoSymbolFile.cs: New public class.  This is now a public class
290         and writes and reads the symbol file.
291
292         * IMonoBinaryReader.cs: Removed.
293
294         * MonoSymbolTable.cs: Set version number to 29.
295
296 2003-01-17  Zoltan Varga  <vargaz@freemail.hu>
297
298         * MonoSymbolWriter.cs (OpenMethod): Make it work on constructors.
299
300 2002-10-13  Martin Baulig  <martin@gnome.org>
301
302         * MonoSymbolTable.cs: Set version number to 28.
303         (SourceFileEntry): Read the methods when they're needed.
304         (MethodSourceEntry): Made this a struct, not a class.
305
306 2002-10-13  Martin Baulig  <martin@gnome.org>
307
308         * MonoSymbolTable.cs: Set version number to 27.  Added a source
309         file table which is used to search a method by source file + line number.
310
311 2002-09-21  Martin Baulig  <martin@gnome.org>
312
313         * MonoSymbolTable.cs: Set version number to 26.  Removed all the dynamic
314         stuff, this library now just deals with the compiler generated symbol table.
315         The dynamic stuff is private between the JIT and the debugger.
316
317 2002-09-21  Martin Baulig  <martin@gnome.org>
318
319         * MonoSymbolTable.cs: Set version number to 25.  Added information about
320         local variables.
321
322 2002-09-20  Martin Baulig  <martin@gnome.org>
323
324         * MonoSymbolTable.cs: Set version number to 24.  Added a type index
325         table.  Write the type of a local variable or a parameter as an index
326         into this table.
327
328 2002-09-20  Martin Baulig  <martin@gnome.org>
329
330         * IMonoSymbolWriter.cs: Remove all the unused interfaces.
331
332 2002-09-20  Martin Baulig  <martin@gnome.org>
333
334         * MonoSymbolTable.cs: Set version number to 23, include the size
335         of a variable.
336
337 2002-09-20  Martin Baulig  <martin@gnome.org>
338
339         * MonoSymbolTable.cs: Set version number to 22.  Provide information
340         about parameters and local variables.
341
342 2002-09-20  Martin Baulig  <martin@gnome.org>
343
344         * IMonoSymbolWriter.cs: Use fullly qualified name for
345         System.Diagnostics.SymbolStore.ISymbolWriter rather than `using' this
346         namespace.  This allows us to use the name `ISymbolWriter' in our own
347         code.
348
349 2002-09-18  Martin Baulig  <martin@gnome.org>
350
351         * MonoSymbolTable.cs: Set version number to 21.  Encode the source file
352         as a 4-byte length field followed by the UTF8 encoded string.
353
354 2002-09-18  Martin Baulig  <martin@gnome.org>
355
356         * IMonoBinaryReader.cs: New interface.
357
358         * MonoSymbolTable.cs: Use IMonoBinaryReader instead of binary reader.
359
360 2002-09-16  Martin Baulig  <martin@gnome.org>
361
362         * MonoSymbolTable.cs: Set version number to 20.
363
364 2002-09-14  Martin Baulig  <martin@gnome.org>
365
366         * MonoSymbolWriter.cs, IMonoSymbolWriter.cs, MonoSymbolTableWriter.cs:
367         Make all classes and interfaces which don't need to be public internal.
368
369 2002-09-14  Martin Baulig  <martin@gnome.org>
370
371         * MonoSymbolTable.cs: Use only CLS-compliant types here, bumped version
372         number to 19.
373
374         * MonoSymbolTableReader.cs: Removed, this is now in the debugger.
375
376 2002-09-03  Martin Baulig  <martin@gnome.org>
377
378         * AssemblerWriterI386.cs, IAssemblerWriter.cs, MonoDwarfFileWriter.cs,
379         README, README.relocation-table, csharp-lang.[ch], gdb-csharp-support.patch,
380         gdb-variable-scopes.patch: Removed.
381
382 2002-09-03  Martin Baulig  <martin@gnome.org>
383
384         * MonoSymbolTableReader.cs (MonoSymbolTableReader.ImageFile): New
385         public property.
386
387         * MonoSymbolTable.cs: Bumped version number to 18.
388
389 2002-08-27  Martin Baulig  <martin@gnome.org>
390
391         * MonoSymbolTable.cs (MethodAddress): Removed `TrampolineAddress'.
392
393 2002-08-27  Martin Baulig  <martin@gnome.org>
394
395         * MonoSymbolTable.cs: Changed the file format in a way that allows us
396         open it read-only and to use a specially malloced area for all the
397         dynamic data.   
398
399 2002-08-25  Martin Baulig  <martin@gnome.org>
400
401         * MonoSymbolTableReader.cs: New file.  This is the reader for the
402         new symbol file format.
403
404 2002-08-24  Martin Baulig  <martin@gnome.org>
405
406         * MonoSymbolTable.cs, MonoSymbolTableWriter.cs: New files.  This
407         creates a binary application.dbg file which will be used by the
408         JIT to display source lines for exceptions.
409
410         * list.unix: Disabled the dwarf file writer in the build.
411
412 2002-08-23  Martin Baulig  <martin@gnome.org>
413
414         * MonoSymbolWriter.cs (MonoSymbolWriter.Initialize): Added
415         assembly name argument.  Since the symbol writer needs to read the
416         final assembly, we need to give it its full pathname.
417
418 2002-08-23  Martin Baulig  <martin@gnome.org>
419
420         * makefile.gnu, list.unix: Added.
421
422 2002-07-05  Martin Baulig  <martin@gnome.org>
423
424         * MonoDwarfFileWriter.cs: Added support for types in referenced assemblies.
425
426 2002-07-05  Martin Baulig  <martin@gnome.org>
427
428         * MonoDwarfFileWriter.cs: Added support for arrays.
429
430         * gdb-csharp-support.patch: Updated.
431
432 2002-06-29  Martin Baulig  <martin@gnome.org>
433
434         * MonoDwarfFileWriter.cs (DieInheritance): Make this actually work.
435
436 2002-06-29  Martin Baulig  <martin@gnome.org>
437
438         * MonoDwarfFileWriter.cs, MonoSymbolWriter.cs: Put all TAG_subprogram's into their
439         corresponding struct/class declarations.
440
441 2002-06-28  Martin Baulig  <martin@gnome.org>
442
443         * gdb-csharp-support.patch: Updated.
444
445 2002-06-28  Martin Baulig  <martin@gnome.org>
446
447         * MonoDwarfFileWriter.cs: Use a TAG_string_type when we're using GNU extensions.
448         Make static struct/class fields actually work.  Provide a TAG_typedef for struct's
449         and classes.
450
451 2002-05-30  Martin Baulig  <martin@gnome.org>
452
453         * IMonoSymbolWriter (IMonoSymbolWriter): Added custom `Initialize' method.
454
455         * MonoSymbolWriter.cs (Initialize): The ISymbolWriter's `Initialize' method
456         is no longer supported and throws an exception.
457         (Initialize (string, string[])): New custom initialization function.
458
459         * MonoDwarfFileWriter.cs (DwarfFileWriter): Added `string[] args' argument
460         to the constructor to pass command line arguments.
461
462         * gdb-csharp-support.patch: Updated for GDB 5.2.
463
464 2002-05-30  Martin Baulig  <martin@gnome.org>
465
466         * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now get's the
467         AssemblyBuilder's `methods' array as third argument.
468         (OpenMethod): Use this array to get the method builder rather than using an
469         interncall for it.
470         (get_method_builder): Removed this interncall.
471
472 2002-05-25  Martin Baulig  <martin@gnome.org>
473
474         * MonoDwarfFileWriter.cs: Finished the type rewrite, put back strings and arrays.
475
476 2002-05-24  Martin Baulig  <martin@gnome.org>
477
478         * IMonoSymbolWriter.cs (ISourceMethod): Added `FullName' and `Parameters'.
479         (ITypeHandle): New interface.
480
481         * DwarfFileWriter.cs: Largely reorganized the type writing code.  Types are
482         now represented by ITypeHandle objects which are stored in a per-dwarf-writer
483         hash table.  At the moment, all types still need to be in one compile unit due
484         to lacking support in gdb - but this new type code here already supports this.
485
486         * MonoSymbolWriter.cs: Moved all the subclasses to the top-level and made them
487         public, cleaned up the code, put everything into one compile unit.
488         (DefineLocalVariable): Added a version of this function which takes useful args.
489
490 2002-05-22  Martin Baulig  <martin@gnome.org>
491
492         * IMonoSymbolWriter.cs (IMonoSymbolWriter): Added `Sources' and `Methods'
493         properties.
494
495         * MonoDwarfFileWriter.cs (WriteSymbolTable): New public method.  Moved the
496         code that writes the "mono_line_numbers" section here from the LineNumberEngine.
497
498 2002-05-22  Martin Baulig  <martin@gnome.org>
499
500         * IMonoSymbolWriter.cs (IVariable): Replaced Token with `ISourceMethod Method'.
501
502         * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now has an additional
503         ModuleBuilder argument.
504         (OpenMethod): Immediately call the `get_method' interncall to get the MethodBase
505         from the token, then store the MethodBase instead of the token.  The token may
506         still change during the metadata library's fixup process.
507         (DoFixups): When the image has been written to disk, call the GetToken () method
508         on all MethodBuilders and all ConstructorBuilders to get the final metadata tokens.
509
510 2002-05-22  Martin Baulig  <martin@gnome.org>
511
512         * AssemblerWriterI386.cs: Don't use GNU extensions and produce assembler
513         output which is free of comments and extra whitespaces so that it's suitable
514         for `as -f'.
515
516 2002-05-22  Martin Baulig  <martin@gnome.org>
517
518         * IMonoSymbolWriter.cs (ISourceMethod): Replaced `MethodInfo MethodInfo' with
519         `MethodBase MethodBase' and added `Type ReturnType'.  We're now correctly
520         dealing with constructors and not crashing anymore.
521
522 2002-05-21  Martin Baulig  <martin@gnome.org>
523
524         * MonoDwarfFileWriter.cs: Write a special line number table which can be read
525         in by the metadata library to get line number information in backtraces.
526
527 2002-05-06  Martin Baulig  <martin@gnome.org>
528
529         * MonoSymbolWriter.cs (MonoSymbolWriter.Close): Use Assembly.LoadFrom (), not
530         AppDomain.Load () to load the assembly.
531
532 2002-04-26  Martin Baulig  <martin@gnome.org>
533
534         * gdb-csharp-support.patch: A patch for GDB (against the latest CVS version)
535         to implement C# support.
536
537         * csharp-lang.c, csharp-lang.h, csharp-mono-lang.c: Copy these into your GDB
538         source directory after applying the patch.
539
540 2002-04-26  Martin Baulig  <martin@gnome.org>
541
542         * MonoDwarfFileWriter.cs (DieInternalString): Removed.
543
544 2002-04-25  Martin Baulig  <martin@gnome.org>
545
546         * MonoDwarfFileWriter.cs: Reflect latest MonoString changes.
547
548 2002-04-13  Martin Baulig  <martin@gnome.org>
549
550         * IMonoSymbolWriter.cs (ISourceBlock): Added `Blocks' property and `AddBlock'
551         method to support nested blocks.
552
553         * MonoSymbolWriter.cs: Correctly handle nested blocks.
554
555         * MonoDwarfFileWriter.cs (DieMember): Provide info for all fields, not just for
556         public ones; also added DW_AT_accessibility.
557         (DieVariable): Reflected latest debug-symfile.c changes.
558
559 2002-04-12  Martin Baulig  <martin@gnome.org>
560
561         * gdb-variable-scopes.patch: A patch for GDB (against the latest CVS version)
562         to implement variable lifetimes.
563
564 2002-04-12  Martin Baulig  <martin@gnome.org>
565
566         * MonoDwarfFileWriter.cs (DieVariable): Provide info about the variable's
567         lifetime using DW_AT_begin_scope and a new baulig extension DW_AT_end_scope.
568
569 2002-03-29  Martin Baulig  <martin@gnome.org>
570
571         * AssemblerWriterI386.cs: Rewrote most of the string output function, do the
572         number->string conversion manually. It's now taking about 15 seconds to write
573         a symbol file for MCS, no longer more than a minute.
574
575         * MonoDwarfFileWriter.cs: Added some profiling code, speeded things up, fixed
576         a few bugs.
577
578 2002-03-25  Martin Baulig  <martin@gnome.org>
579
580         * MonoDwarfFileWriter.cs (CreateType): Return a `DieType'.
581         (RegisterType): Add the type to the type hash before creating dependency types
582         so we don't get recursion loops.
583         (RegisterPointerType): New func to register a "pointer to type" type.
584         (DieTypeDef, DiePointerType, DieArrayType, DieStringType, DieClassType): New
585         types; added support for strings, arrays and basic support for classes.
586         
587 2002-03-24  Martin Baulig  <martin@gnome.org>
588
589         * IMonoSymbolWriter.cs: Killed all methods in this interface, no longer needed.
590
591         * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now takes a string
592         argument which is the full pathname of the assembly - you must call Close()
593         after the assembly has been written to disk since the symbol writer needs to
594         load the finished assembly to get its metadata.
595
596         * MonoDwarfFileWriter.cs: Added support for enums and structs.
597         
598 2002-03-24  Martin Baulig  <martin@gnome.org>
599
600         * MonoDwarfFileWriter.cs: Added support for method parameters.
601
602 2002-03-24  Martin Baulig  <martin@gnome.org>
603
604         * IMonoSymbolWriter.cs (IMonoSymbolWriter): Removed my custom OpenMethod(),
605         we're now using the ISymbolWriter's method.
606         (IVariable): Added `byte[] Signature' property.
607
608         * MonoSymbolWriter.cs (SetAssembly): New method. This must be called before
609         Close(); the assembly parameter is the already-written assembly, ie. it must
610         contain the full metadata.
611         (OpenMethod): Only take the token argument and set MethodInfo later in DoFixups.
612         (SetMethodSourceRange): You must call this function to tell the symbol writer
613         in which source file the method is defined.
614         (DefineLocal): Store the signature in the local.
615         (DoFixups): Use two new interncalls to set the SourceMethod's MethodInfo field
616         and the LocalVariable's Type field.
617
618 2002-03-23  Martin Baulig  <martin@gnome.org>
619
620         * IMonoSymbolWriter.cs (ISourceBlock): New interface.
621         (ILocalVariable): Renamed this interface to IVariable.
622         (IVariable): Added Line, Type, Token.
623         (ILocalVariable, IMethodParameter): New interfaces, derive from IVariable.
624         (ISourceMethod): Added Blocks. Renamed FirstLine and LastLine to Start and End,
625         changed their type to ISourceLine. Removed CodeSize.
626         (ISourceLine): Renamed Line to Row, added Column. Added OffsetType and Offset.
627
628         * MonoDwarfFileWriter.cs (MonoDwarfFileWriter.DieLexicalBlock): New class.
629         (MonoDwarfFileWriter.DieMethodVariable): New class.
630
631         * MonoSymbolWriter.cs (OpenScope, CloseScope): Implemented.
632         Reflected latest IMonoSymbolWriter interface changes.
633
634 2002-03-20  Martin Baulig  <martin@gnome.org>
635
636         * IAssemblerWriter.cs: New interface.
637
638         * AssemblerWriterI386.cs: New class.
639
640         * MonoDwarfFileWriter.cs: Use the IAssemblerWriter interface to make this class
641         platform and assembler independent.
642
643 2002-03-20  Martin Baulig  <martin@gnome.org>
644
645         * IMonoSymbolWriter.cs (ISourceMethod): Added FirstLine, LastLine, CodeSize and
646         Token properties.
647
648         * MonoDwarfFileWriter.cs: Implemented line number support.
649
650 2002-03-19  Martin Baulig  <martin@gnome.org>
651
652         * IMonoSymbolWriter.cs (ISourceFile, ISourceMethod, ISourceLine, ILocalVariable):
653         New interfaces.
654
655         * IMonoSymbolWriter.cs (OpenMethod): Take a System.Reflection.MethodInfo, not
656         a string.
657
658 2002-03-19  Martin Baulig  <martin@gnome.org>
659
660         This is an implementation of the System.Diagnostics.SymbolStore.SymbolWriter
661         interface. It's still work in progress and not yet used anywhere.
662
663         There is some preliminary documentation in the source files and some more
664         docu in the README and README.relocation-table files.
665
666         * IMonoSymbolWriter.cs: New file.
667         * MonoDwarfFileWriter.cs: New file.
668         * MonoSymbolDocumentWriter.cs: New file.
669         * MonoSymbolWriter.cs: New file.
670
671         * README, README.relocation-table: Documentation.
672