Fixed the public and internal disassembler API to be named correctly:

const char *
SBInstruction::GetMnemonic()

const char *
SBInstruction::GetOperands()

const char *
SBInstruction::GetComment()

Fixed the symbolicate example script and the internals.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140591 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBInstruction.cpp b/source/API/SBInstruction.cpp
index d708aa0..26f8d1a 100644
--- a/source/API/SBInstruction.cpp
+++ b/source/API/SBInstruction.cpp
@@ -69,7 +69,7 @@
 }
 
 const char *
-SBInstruction::GetOpcodeName(SBTarget target)
+SBInstruction::GetMnemonic(SBTarget target)
 {
     if (m_opaque_sp)
     {        
@@ -81,13 +81,13 @@
             target->CalculateExecutionContext (exe_ctx);
             exe_ctx.SetProcessSP(target->GetProcessSP());
         }
-        return m_opaque_sp->GetOpcodeName(exe_ctx.GetBestExecutionContextScope());
+        return m_opaque_sp->GetMnemonic(exe_ctx.GetBestExecutionContextScope());
     }
     return NULL;
 }
 
 const char *
-SBInstruction::GetMnemonics(SBTarget target)
+SBInstruction::GetOperands(SBTarget target)
 {
     if (m_opaque_sp)
     {
@@ -99,7 +99,7 @@
             target->CalculateExecutionContext (exe_ctx);
             exe_ctx.SetProcessSP(target->GetProcessSP());
         }
-        return m_opaque_sp->GetMnemonics(exe_ctx.GetBestExecutionContextScope());
+        return m_opaque_sp->GetOperands(exe_ctx.GetBestExecutionContextScope());
     }
     return NULL;
 }