Author: martin
Date: 2005-10-11 10:23:31 -0400 (Tue, 11 Oct 2005)
New Revision: 51576

Added:
   trunk/debugger/arch/Disassembler.cs
Log:
2005-10-11  Martin Baulig  <[EMAIL PROTECTED]>

        * arch/Disassembler.cs
        (Disassembler): New internal abstract class; replaces the
        `IDisassembler' interface.

        * interfaces/IDisassembler.cs: Removed.



Added: trunk/debugger/arch/Disassembler.cs
===================================================================
--- trunk/debugger/arch/Disassembler.cs 2005-10-11 14:23:21 UTC (rev 51575)
+++ trunk/debugger/arch/Disassembler.cs 2005-10-11 14:23:31 UTC (rev 51576)
@@ -0,0 +1,32 @@
+using System;
+
+namespace Mono.Debugger
+{
+       internal abstract class Disassembler
+       {
+               // <summary>
+               //   Get the size of the current instruction.
+               // </summary>
+               public abstract int GetInstructionSize (TargetAddress address);
+
+               // <summary>
+               //   Disassemble one method.
+               // </summary>
+               public abstract AssemblerMethod DisassembleMethod (Method 
method);
+
+               // <summary>
+               //   Disassemble one instruction.
+               //   If @imethod is non-null, it specifies the current method 
which will
+               //   be used to lookup function names from trampoline calls.
+               // </summary>
+               public abstract AssemblerLine DisassembleInstruction (Method 
method,
+                                                                     
TargetAddress address);
+
+               // <summary>
+               //   The symbol table the disassembler uses to display symbols.
+               // </summary>
+               internal abstract ISimpleSymbolTable SymbolTable {
+                       get; set;
+               }
+       }
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to