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