diff options
author | Jb Evain <jbevain@gmail.com> | 2009-02-02 19:17:32 +0300 |
---|---|---|
committer | Jb Evain <jbevain@gmail.com> | 2009-02-02 19:17:32 +0300 |
commit | 42692885744bc1377de164937ebec59cc15aad6f (patch) | |
tree | c8c7e5b3428fb5db42180d9d42062df8f80b9009 /mcs/class/Mono.Cecil.Mdb | |
parent | 3a36287189676381b24e36b55af4d077bb7e3425 (diff) |
2009-02-02 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Mdb/MdbWriter.cs: add a GetDebugHeader method
that will be used by the image writer.
svn path=/trunk/mcs/; revision=125364
Diffstat (limited to 'mcs/class/Mono.Cecil.Mdb')
-rw-r--r-- | mcs/class/Mono.Cecil.Mdb/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbWriter.cs | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/Mono.Cecil.Mdb/ChangeLog b/mcs/class/Mono.Cecil.Mdb/ChangeLog index 55e81895860..d951989c3b5 100644 --- a/mcs/class/Mono.Cecil.Mdb/ChangeLog +++ b/mcs/class/Mono.Cecil.Mdb/ChangeLog @@ -1,3 +1,8 @@ +2009-02-02 Jb Evain <jbevain@novell.com> + + * Mono.Cecil.Mdb/MdbWriter.cs: add a GetDebugHeader method + that will be used by the image writer. + 2008-11-11 Sebastien Pouliot <sebastien@ximian.com> * Mono.Cecil.Mdb/MdbFactory.cs: Wrap any MonoSymbolFileException diff --git a/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbWriter.cs b/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbWriter.cs index f0d7a92e10f..948d151d1db 100644 --- a/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbWriter.cs +++ b/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbWriter.cs @@ -137,6 +137,13 @@ namespace Mono.Cecil.Mdb { } } + public byte [] GetDebugHeader () + { + // mdb doesn't need a debug header + // in the PE file. + return new byte [0]; + } + public void Dispose () { m_writer.WriteSymbolFile (m_mvid); |