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