diff options
Diffstat (limited to 'src/arch/arm/insts/mem.cc')
-rw-r--r-- | src/arch/arm/insts/mem.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/arch/arm/insts/mem.cc b/src/arch/arm/insts/mem.cc index e5e91a9ea..7909330aa 100644 --- a/src/arch/arm/insts/mem.cc +++ b/src/arch/arm/insts/mem.cc @@ -35,12 +35,16 @@ namespace ArmISA std::string Memory::generateDisassembly(Addr pc, const SymbolTable *symtab) const { - return csprintf("%-10s", mnemonic); + std::stringstream ss; + printMnemonic(ss); + return ss.str(); } std::string MemoryNoDisp::generateDisassembly(Addr pc, const SymbolTable *symtab) const { - return csprintf("%-10s", mnemonic); + std::stringstream ss; + printMnemonic(ss); + return ss.str(); } } |