1 2004-10-20 Martin Baulig <martin@ximian.com>
3 * MonoSymbolFile.cs (MonoSymbolFile.Write): Sort the method table
4 before actually writing it to disk and update MethodEntry.Index.
6 * MonoSymbolTable.cs (MethodEntry.Index): Make this a writable
7 property; set it after creating all the methods and sorting the
10 2004-09-21 Martin Baulig <martin@ximian.com>
12 * MonoSymbolFile.cs (MonoDebuggerSupport.CheckRuntimeVersion): New
15 2004-08-27 Martin Baulig <martin@ximian.com>
17 * MonoSymbolFile.cs (MonoSymbolFile..ctor): Read the GUID from the
18 symbol file before reading the OffsetTable.
20 2004-08-27 Chris Toshok <toshok@ximian.com>
22 * MonoSymbolFile.cs (MonoSymbolFile.ReadSymbolFile): pass name to
23 MonoSymbolFile.ctor, not filename, so we load the .mdb file
25 (MonoSymbolFile.ctor): pass FileAccess.Read to the FileStream
28 2004-08-27 Martin Baulig <martin@ximian.com>
30 * MonoSymbolFile.cs (MonoDebuggerSupport.GetGuid): The function is
31 called Module.Mono_GetGuid(), not Module.MonoDebugger_GetGuid().
33 2004-07-30 Martin Baulig <martin@ximian.com>
35 The library is now called Mono.CompilerServices.SymbolWriter.dll
36 and is in the Mono.CompilerServices.SymbolWriter namespace.
38 * MonoSymbolFile.cs (MonoDebuggerSupport.GetGuid): New public
40 (MonoSymbolFile.WriteString): Use the BinaryWriter's method.
41 (MonoSymbolFile.ReadString): Use the BinaryReader's method.
42 (MonoSymbolFile.Write): Write the module's Guid into the symbol
45 * MonoSymbolTable.cs, MonoSymbolWriter.cs: Reworked the API.
47 2004-07-27 Martin Baulig <martin@ximian.com>
49 * MonoSymbolFile.cs (MonoSymbolFile.Write): Sort the methods
50 according to their token values.
51 (MonoSymbolFile.ReadSymbolFile): Support reading the debugging
52 information from an external ".mdb" file.
55 (SourceFileEntry): Make the .ctor protected, not internal.
56 (SourceFileEntry.DefineMethod): This is no longer specific to
57 System.Reflection(.Emit).
58 (MethodEntry): We don't need the class and parameter types, the
59 JIT is already getting this information automatically.
60 (MethodEntry.ClassTypeIndex): Make this obsolete.
61 (MethodEntry.ParamTypeIndicies): Likewise.
63 2004-07-02 Raja R Harinath <rharinath@novell.com>
65 * Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
66 (LIBRARY_COMPILE): Simplify.
68 2004-06-24 Raja R Harinath <rharinath@novell.com>
70 * Makefile (LIBRARY_COMPILE): Only define for W32.
72 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
74 * Makefile: build using mcs on windows.
76 2004-06-19 Martin Baulig <martin@ximian.com>
79 (SourceFileTable.Namespaces): New public property.
81 2004-06-02 Martin Baulig <martin@ximian.com>
83 Set version number to 37.
85 2004-05-23 Ben Maurer <bmaurer@users.sourceforge.net>
87 * MonoSymbolTable.cs (BuildLineNumberTable): Avoid arraylist.
89 2004-01-16 Martin Baulig <martin@ximian.com>
91 Set version number to 36.
93 * MonoSymbolFile.cs (MonoSymbolFile): Removed 'FindMethod' and
96 * MonoSymbolTable.cs (MethodEntry): Don't write the method's full
97 name into the symbol file.
99 2004-01-16 Martin Baulig <martin@ximian.com>
101 * MonoSymbolFile.cs (MonoDebuggerSupport): As suggested by Ben
102 Maurer, create a delegate type for each of the methods and then
105 2004-01-15 Martin Baulig <martin@ximian.com>
107 * MonoSymbolFile.cs (MonoDebuggerSupport): New public class
108 containing static wrappers for calling the `MonoDebugger_*'
109 function in S.R.Assembly.
111 2004-01-13 Martin Baulig <martin@ximian.com>
113 * MonoSymbolTable.cs: Added more #region's and a comment at the
116 * MonoSymbolWriter.cs (SourceMethod.BuildLineNumberTable): Removed
117 it here since it's in MethodEntry again.
119 2004-01-13 Martin Baulig <martin@ximian.com>
121 * ChangeLog, MonoSymbolTable.cs: Reviewed Ben's patches. For
122 those which are not ok, I'll add detailed comments to the source
125 2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
127 [Revision 1.41, not approved. Martin]
128 * MonoSymbolTable.cs (MethodEntry): kill more
131 2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
133 [Revision 1.40, not approved. Martin]
134 * MonoSymbolTable.cs (MethodEntry): Remove the
135 SourceFileIndex field, we already have the info.
137 2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
139 [Revision 1.39, approved. Martin]
140 * MonoSymbolTable.cs: Don't make the MethodIndexEntry
141 part of the method entry class, because it just
142 takes up extra space.
144 2003-12-28 Ben Maurer <bmaurer@users.sourceforge.net>
146 [Revisions 1.37 and 1.38; not approved. Martin]
147 * MonoSymbolTable.cs (MethodEntry.BuildLineNumberTable): Removed.
149 * MonoSymbolTable.cs, MonoSymbolWriter.cs: Use
150 fewer arrays, dont use arraylists with structs.
152 2003-12-27 Ben Maurer <bmaurer@users.sourceforge.net>
154 * MonoSymbolFile.cs: Much, much better string writing.
156 2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
158 [Revision 1.36, approved. Martin]
159 * MonoSymbolTable.cs: Fewer StringBuilder allocs.
161 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
163 * MonoSymbolWriter.cs: Create ArrayLists only when needed.
165 2003-12-07 Ben Maurer <bmaurer@users.sourceforge.net>
167 [Revision 1.35, approved. Martin]
168 * MonoSymbolTable.cs: It is faster to do a linear search
169 than it is to make a hashtable. Even though the linear
170 search is O(n^2) while the hashtable is O(n), the allocation
171 cost for a hashtable is *very* high, especially when only
172 a few members will be added.
174 2003-09-06 Martin Baulig <martin@ximian.com>
176 * MonoSymbolFile.cs: Removed debugging output.
178 2003-08-05 Martin Baulig <martin@ximian.com>
180 * MonoSymbolTable.cs (MethodEntry.Index): New public field.
182 2003-06-27 Zoltan Varga <vargaz@freemail.hu>
184 * MonoSymbolWriter.cs: Enable calling of DefineDocument multiple
185 times with the same URL.
187 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
189 * MonoSymbolFile.cs: Fix off-by-one error.
191 2003-03-22 Martin Baulig <martin@ximian.com>
193 * MonoSymbolTable.cs (MethodEntry.LocalNamesAmbiguous): New public
194 field. Specifies whether two local variables have the same name.
196 2003-03-13 Martin Baulig <martin@ximian.com>
198 Added basic support for lexical scopes. This is just to tell a
199 debugger that a local variable is only available in a specific
200 lexical scope and that another variable of the same name may exist
201 in another lexical scope. See debugger/test/TestLexicalScope.cs
204 * MonoSymbolTable.cs (LexicalScopeEntry): New class.
205 (LocalVariableEntry): Added `BlockIndex' field which specifies the
206 lexical scope of this variable.
208 * MonoSymbolWriter.cs (SourceBlock): Removed, we're now using
209 LexicalScopeEntry instead.
211 2003-02-22 Martin Baulig <martin@ximian.com>
213 * MonoSymbolTable.cs: Incremented version number.
215 2003-02-22 Martin Baulig <martin@ximian.com>
217 * MonoSymbolFile.cs (MonoSymbolFile.FindMethod): Fixed a bug.
218 (MonoSymbolFile.MethodLookup): New method.
220 2003-02-18 Martin Baulig <martin@ximian.com>
222 * MonoSymbolFile.cs (MonoSymbolFile.GetMethod): Added overloaded
223 version which takes a MethodBase.
225 2003-02-18 Martin Baulig <martin@ximian.com>
227 * MonoSymbolTable.cs (MethodIndexEntry): New public struct.
229 * MonoSymbolFile.cs (MonoSymbolFile.GetMethodByToken): New method.
231 2003-02-18 Martin Baulig <martin@ximian.com>
233 * MonoSymbolFile.cs (MonoSymbolFile.Assembly): New public property.
235 * MonoSymbolTable.cs (MethodEntry.MethodBase): New public property.
236 (MethodEntry.LocalTypes): New public variable.
238 2003-02-18 Martin Baulig <martin@ximian.com>
240 * MonoSymbolFile.cs (MethodEntry.ThisTypeIndex): Renamed to
241 ClassTypeIndex; provide this for all methods so we can get the
242 class of static methods.
244 2003-02-10 Nick Drochak <ndrochak@gol.com>
246 * Mono.CSharp.Debugger.build: passing the /r using an 'arg' node works.
247 The <include> node wasn't getting to the compiler. This fixes build
250 * MonoSymbolFile.cs: Qualify which Min method. Fixes build breakage
253 2003-02-09 Martin Baulig <martin@ximian.com>
255 * MonoSymbolWriter.cs (MonoSymbolWriter.ctor): We don't need the
256 `mbuilder_array' anymore.
258 2003-02-09 Martin Baulig <martin@ximian.com>
260 * MonoSymbolWriter.cs (SourceFile): Derive from SourceFileEntry.
261 (SourceBlock): We don't need source lines here.
262 (SourceMethod): We're always constructed with source info.
264 * MonoSymbolTable.cs: Added support for namespaces.
265 (NamespaceEntry): New struct.
266 (SourceFileEntry.DefineNamespace): New method.
267 (MethodEntry.BuildLineNumberTable): The table is already sorted,
268 so we don't need to do this here.
270 2003-02-09 Martin Baulig <martin@ximian.com>
272 * IMonoSymbolWriter.cs: Ooops, I forgot to remove this.
274 2003-02-08 Martin Baulig <martin@ximian.com>
276 * MonoSymbolDocumentWriter.cs: Removed.
278 * MonoSymbolWriter.cs (SourceFile): Implement ISymbolDocumentWriter.
280 2003-02-08 Martin Baulig <martin@ximian.com>
282 * MonoSymbolFile.cs (GetMethodSource): New public method.
283 (FindMethod): Return the correct index.
285 2003-02-07 Martin Baulig <martin@ximian.com>
287 * MonoSymbolFile.cs (Methods, Sources): New public properties.
289 2003-02-07 Martin Baulig <martin@ximian.com>
291 * MonoSymbolFile.cs (MonoSymbolFile.ReadSymbolFile): New public
292 static method, returns null (without throwing an exception) if the
293 assembly doesn't have any debugging info.
295 2003-02-07 Martin Baulig <martin@ximian.com>
297 * MonoSymbolWriter.cs (MonoSymbolWriter.Initialize): Removed the
298 custom initialization function.
300 * MonoSymbolTableWriter.cs: Removed; the code is now in
301 MonoSymbolFile.cs and MonoSymbolWriter.cs.
303 2003-02-07 Martin Baulig <martin@ximian.com>
305 * MonoSymbolFile.cs: The symbol file is now a resource in the
306 assembly instead of a separate file.
308 * MonoSymbolTable.cs: Did a few more cleanups, sort the line
309 number table and remove duplicate line numbers.
311 2003-02-05 Martin Baulig <martin@ximian.com>
313 Modified the symbol file format to speed up method looks by name
314 and cleaned this up a lot.
316 * MonoSymbolFile.cs: New public class. This is now a public class
317 and writes and reads the symbol file.
319 * IMonoBinaryReader.cs: Removed.
321 * MonoSymbolTable.cs: Set version number to 29.
323 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
325 * MonoSymbolWriter.cs (OpenMethod): Make it work on constructors.
327 2002-10-13 Martin Baulig <martin@gnome.org>
329 * MonoSymbolTable.cs: Set version number to 28.
330 (SourceFileEntry): Read the methods when they're needed.
331 (MethodSourceEntry): Made this a struct, not a class.
333 2002-10-13 Martin Baulig <martin@gnome.org>
335 * MonoSymbolTable.cs: Set version number to 27. Added a source
336 file table which is used to search a method by source file + line number.
338 2002-09-21 Martin Baulig <martin@gnome.org>
340 * MonoSymbolTable.cs: Set version number to 26. Removed all the dynamic
341 stuff, this library now just deals with the compiler generated symbol table.
342 The dynamic stuff is private between the JIT and the debugger.
344 2002-09-21 Martin Baulig <martin@gnome.org>
346 * MonoSymbolTable.cs: Set version number to 25. Added information about
349 2002-09-20 Martin Baulig <martin@gnome.org>
351 * MonoSymbolTable.cs: Set version number to 24. Added a type index
352 table. Write the type of a local variable or a parameter as an index
355 2002-09-20 Martin Baulig <martin@gnome.org>
357 * IMonoSymbolWriter.cs: Remove all the unused interfaces.
359 2002-09-20 Martin Baulig <martin@gnome.org>
361 * MonoSymbolTable.cs: Set version number to 23, include the size
364 2002-09-20 Martin Baulig <martin@gnome.org>
366 * MonoSymbolTable.cs: Set version number to 22. Provide information
367 about parameters and local variables.
369 2002-09-20 Martin Baulig <martin@gnome.org>
371 * IMonoSymbolWriter.cs: Use fullly qualified name for
372 System.Diagnostics.SymbolStore.ISymbolWriter rather than `using' this
373 namespace. This allows us to use the name `ISymbolWriter' in our own
376 2002-09-18 Martin Baulig <martin@gnome.org>
378 * MonoSymbolTable.cs: Set version number to 21. Encode the source file
379 as a 4-byte length field followed by the UTF8 encoded string.
381 2002-09-18 Martin Baulig <martin@gnome.org>
383 * IMonoBinaryReader.cs: New interface.
385 * MonoSymbolTable.cs: Use IMonoBinaryReader instead of binary reader.
387 2002-09-16 Martin Baulig <martin@gnome.org>
389 * MonoSymbolTable.cs: Set version number to 20.
391 2002-09-14 Martin Baulig <martin@gnome.org>
393 * MonoSymbolWriter.cs, IMonoSymbolWriter.cs, MonoSymbolTableWriter.cs:
394 Make all classes and interfaces which don't need to be public internal.
396 2002-09-14 Martin Baulig <martin@gnome.org>
398 * MonoSymbolTable.cs: Use only CLS-compliant types here, bumped version
401 * MonoSymbolTableReader.cs: Removed, this is now in the debugger.
403 2002-09-03 Martin Baulig <martin@gnome.org>
405 * AssemblerWriterI386.cs, IAssemblerWriter.cs, MonoDwarfFileWriter.cs,
406 README, README.relocation-table, csharp-lang.[ch], gdb-csharp-support.patch,
407 gdb-variable-scopes.patch: Removed.
409 2002-09-03 Martin Baulig <martin@gnome.org>
411 * MonoSymbolTableReader.cs (MonoSymbolTableReader.ImageFile): New
414 * MonoSymbolTable.cs: Bumped version number to 18.
416 2002-08-27 Martin Baulig <martin@gnome.org>
418 * MonoSymbolTable.cs (MethodAddress): Removed `TrampolineAddress'.
420 2002-08-27 Martin Baulig <martin@gnome.org>
422 * MonoSymbolTable.cs: Changed the file format in a way that allows us
423 open it read-only and to use a specially malloced area for all the
426 2002-08-25 Martin Baulig <martin@gnome.org>
428 * MonoSymbolTableReader.cs: New file. This is the reader for the
429 new symbol file format.
431 2002-08-24 Martin Baulig <martin@gnome.org>
433 * MonoSymbolTable.cs, MonoSymbolTableWriter.cs: New files. This
434 creates a binary application.dbg file which will be used by the
435 JIT to display source lines for exceptions.
437 * list.unix: Disabled the dwarf file writer in the build.
439 2002-08-23 Martin Baulig <martin@gnome.org>
441 * MonoSymbolWriter.cs (MonoSymbolWriter.Initialize): Added
442 assembly name argument. Since the symbol writer needs to read the
443 final assembly, we need to give it its full pathname.
445 2002-08-23 Martin Baulig <martin@gnome.org>
447 * makefile.gnu, list.unix: Added.
449 2002-07-05 Martin Baulig <martin@gnome.org>
451 * MonoDwarfFileWriter.cs: Added support for types in referenced assemblies.
453 2002-07-05 Martin Baulig <martin@gnome.org>
455 * MonoDwarfFileWriter.cs: Added support for arrays.
457 * gdb-csharp-support.patch: Updated.
459 2002-06-29 Martin Baulig <martin@gnome.org>
461 * MonoDwarfFileWriter.cs (DieInheritance): Make this actually work.
463 2002-06-29 Martin Baulig <martin@gnome.org>
465 * MonoDwarfFileWriter.cs, MonoSymbolWriter.cs: Put all TAG_subprogram's into their
466 corresponding struct/class declarations.
468 2002-06-28 Martin Baulig <martin@gnome.org>
470 * gdb-csharp-support.patch: Updated.
472 2002-06-28 Martin Baulig <martin@gnome.org>
474 * MonoDwarfFileWriter.cs: Use a TAG_string_type when we're using GNU extensions.
475 Make static struct/class fields actually work. Provide a TAG_typedef for struct's
478 2002-05-30 Martin Baulig <martin@gnome.org>
480 * IMonoSymbolWriter (IMonoSymbolWriter): Added custom `Initialize' method.
482 * MonoSymbolWriter.cs (Initialize): The ISymbolWriter's `Initialize' method
483 is no longer supported and throws an exception.
484 (Initialize (string, string[])): New custom initialization function.
486 * MonoDwarfFileWriter.cs (DwarfFileWriter): Added `string[] args' argument
487 to the constructor to pass command line arguments.
489 * gdb-csharp-support.patch: Updated for GDB 5.2.
491 2002-05-30 Martin Baulig <martin@gnome.org>
493 * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now get's the
494 AssemblyBuilder's `methods' array as third argument.
495 (OpenMethod): Use this array to get the method builder rather than using an
497 (get_method_builder): Removed this interncall.
499 2002-05-25 Martin Baulig <martin@gnome.org>
501 * MonoDwarfFileWriter.cs: Finished the type rewrite, put back strings and arrays.
503 2002-05-24 Martin Baulig <martin@gnome.org>
505 * IMonoSymbolWriter.cs (ISourceMethod): Added `FullName' and `Parameters'.
506 (ITypeHandle): New interface.
508 * DwarfFileWriter.cs: Largely reorganized the type writing code. Types are
509 now represented by ITypeHandle objects which are stored in a per-dwarf-writer
510 hash table. At the moment, all types still need to be in one compile unit due
511 to lacking support in gdb - but this new type code here already supports this.
513 * MonoSymbolWriter.cs: Moved all the subclasses to the top-level and made them
514 public, cleaned up the code, put everything into one compile unit.
515 (DefineLocalVariable): Added a version of this function which takes useful args.
517 2002-05-22 Martin Baulig <martin@gnome.org>
519 * IMonoSymbolWriter.cs (IMonoSymbolWriter): Added `Sources' and `Methods'
522 * MonoDwarfFileWriter.cs (WriteSymbolTable): New public method. Moved the
523 code that writes the "mono_line_numbers" section here from the LineNumberEngine.
525 2002-05-22 Martin Baulig <martin@gnome.org>
527 * IMonoSymbolWriter.cs (IVariable): Replaced Token with `ISourceMethod Method'.
529 * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now has an additional
530 ModuleBuilder argument.
531 (OpenMethod): Immediately call the `get_method' interncall to get the MethodBase
532 from the token, then store the MethodBase instead of the token. The token may
533 still change during the metadata library's fixup process.
534 (DoFixups): When the image has been written to disk, call the GetToken () method
535 on all MethodBuilders and all ConstructorBuilders to get the final metadata tokens.
537 2002-05-22 Martin Baulig <martin@gnome.org>
539 * AssemblerWriterI386.cs: Don't use GNU extensions and produce assembler
540 output which is free of comments and extra whitespaces so that it's suitable
543 2002-05-22 Martin Baulig <martin@gnome.org>
545 * IMonoSymbolWriter.cs (ISourceMethod): Replaced `MethodInfo MethodInfo' with
546 `MethodBase MethodBase' and added `Type ReturnType'. We're now correctly
547 dealing with constructors and not crashing anymore.
549 2002-05-21 Martin Baulig <martin@gnome.org>
551 * MonoDwarfFileWriter.cs: Write a special line number table which can be read
552 in by the metadata library to get line number information in backtraces.
554 2002-05-06 Martin Baulig <martin@gnome.org>
556 * MonoSymbolWriter.cs (MonoSymbolWriter.Close): Use Assembly.LoadFrom (), not
557 AppDomain.Load () to load the assembly.
559 2002-04-26 Martin Baulig <martin@gnome.org>
561 * gdb-csharp-support.patch: A patch for GDB (against the latest CVS version)
562 to implement C# support.
564 * csharp-lang.c, csharp-lang.h, csharp-mono-lang.c: Copy these into your GDB
565 source directory after applying the patch.
567 2002-04-26 Martin Baulig <martin@gnome.org>
569 * MonoDwarfFileWriter.cs (DieInternalString): Removed.
571 2002-04-25 Martin Baulig <martin@gnome.org>
573 * MonoDwarfFileWriter.cs: Reflect latest MonoString changes.
575 2002-04-13 Martin Baulig <martin@gnome.org>
577 * IMonoSymbolWriter.cs (ISourceBlock): Added `Blocks' property and `AddBlock'
578 method to support nested blocks.
580 * MonoSymbolWriter.cs: Correctly handle nested blocks.
582 * MonoDwarfFileWriter.cs (DieMember): Provide info for all fields, not just for
583 public ones; also added DW_AT_accessibility.
584 (DieVariable): Reflected latest debug-symfile.c changes.
586 2002-04-12 Martin Baulig <martin@gnome.org>
588 * gdb-variable-scopes.patch: A patch for GDB (against the latest CVS version)
589 to implement variable lifetimes.
591 2002-04-12 Martin Baulig <martin@gnome.org>
593 * MonoDwarfFileWriter.cs (DieVariable): Provide info about the variable's
594 lifetime using DW_AT_begin_scope and a new baulig extension DW_AT_end_scope.
596 2002-03-29 Martin Baulig <martin@gnome.org>
598 * AssemblerWriterI386.cs: Rewrote most of the string output function, do the
599 number->string conversion manually. It's now taking about 15 seconds to write
600 a symbol file for MCS, no longer more than a minute.
602 * MonoDwarfFileWriter.cs: Added some profiling code, speeded things up, fixed
605 2002-03-25 Martin Baulig <martin@gnome.org>
607 * MonoDwarfFileWriter.cs (CreateType): Return a `DieType'.
608 (RegisterType): Add the type to the type hash before creating dependency types
609 so we don't get recursion loops.
610 (RegisterPointerType): New func to register a "pointer to type" type.
611 (DieTypeDef, DiePointerType, DieArrayType, DieStringType, DieClassType): New
612 types; added support for strings, arrays and basic support for classes.
614 2002-03-24 Martin Baulig <martin@gnome.org>
616 * IMonoSymbolWriter.cs: Killed all methods in this interface, no longer needed.
618 * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now takes a string
619 argument which is the full pathname of the assembly - you must call Close()
620 after the assembly has been written to disk since the symbol writer needs to
621 load the finished assembly to get its metadata.
623 * MonoDwarfFileWriter.cs: Added support for enums and structs.
625 2002-03-24 Martin Baulig <martin@gnome.org>
627 * MonoDwarfFileWriter.cs: Added support for method parameters.
629 2002-03-24 Martin Baulig <martin@gnome.org>
631 * IMonoSymbolWriter.cs (IMonoSymbolWriter): Removed my custom OpenMethod(),
632 we're now using the ISymbolWriter's method.
633 (IVariable): Added `byte[] Signature' property.
635 * MonoSymbolWriter.cs (SetAssembly): New method. This must be called before
636 Close(); the assembly parameter is the already-written assembly, ie. it must
637 contain the full metadata.
638 (OpenMethod): Only take the token argument and set MethodInfo later in DoFixups.
639 (SetMethodSourceRange): You must call this function to tell the symbol writer
640 in which source file the method is defined.
641 (DefineLocal): Store the signature in the local.
642 (DoFixups): Use two new interncalls to set the SourceMethod's MethodInfo field
643 and the LocalVariable's Type field.
645 2002-03-23 Martin Baulig <martin@gnome.org>
647 * IMonoSymbolWriter.cs (ISourceBlock): New interface.
648 (ILocalVariable): Renamed this interface to IVariable.
649 (IVariable): Added Line, Type, Token.
650 (ILocalVariable, IMethodParameter): New interfaces, derive from IVariable.
651 (ISourceMethod): Added Blocks. Renamed FirstLine and LastLine to Start and End,
652 changed their type to ISourceLine. Removed CodeSize.
653 (ISourceLine): Renamed Line to Row, added Column. Added OffsetType and Offset.
655 * MonoDwarfFileWriter.cs (MonoDwarfFileWriter.DieLexicalBlock): New class.
656 (MonoDwarfFileWriter.DieMethodVariable): New class.
658 * MonoSymbolWriter.cs (OpenScope, CloseScope): Implemented.
659 Reflected latest IMonoSymbolWriter interface changes.
661 2002-03-20 Martin Baulig <martin@gnome.org>
663 * IAssemblerWriter.cs: New interface.
665 * AssemblerWriterI386.cs: New class.
667 * MonoDwarfFileWriter.cs: Use the IAssemblerWriter interface to make this class
668 platform and assembler independent.
670 2002-03-20 Martin Baulig <martin@gnome.org>
672 * IMonoSymbolWriter.cs (ISourceMethod): Added FirstLine, LastLine, CodeSize and
675 * MonoDwarfFileWriter.cs: Implemented line number support.
677 2002-03-19 Martin Baulig <martin@gnome.org>
679 * IMonoSymbolWriter.cs (ISourceFile, ISourceMethod, ISourceLine, ILocalVariable):
682 * IMonoSymbolWriter.cs (OpenMethod): Take a System.Reflection.MethodInfo, not
685 2002-03-19 Martin Baulig <martin@gnome.org>
687 This is an implementation of the System.Diagnostics.SymbolStore.SymbolWriter
688 interface. It's still work in progress and not yet used anywhere.
690 There is some preliminary documentation in the source files and some more
691 docu in the README and README.relocation-table files.
693 * IMonoSymbolWriter.cs: New file.
694 * MonoDwarfFileWriter.cs: New file.
695 * MonoSymbolDocumentWriter.cs: New file.
696 * MonoSymbolWriter.cs: New file.
698 * README, README.relocation-table: Documentation.