diff --git a/src/SimpleDwarf.cpp b/src/SimpleDwarf.cpp index fa3c551..350fbde 100644 --- a/src/SimpleDwarf.cpp +++ b/src/SimpleDwarf.cpp @@ -14,6 +14,9 @@ static std::ostream& operator<<( case SimpleDwarf::REG_RBP: out << "rbp"; break; + case SimpleDwarf::REG_RA: + out << "RA"; + break; } return out; diff --git a/src/SimpleDwarf.hpp b/src/SimpleDwarf.hpp index 8d9ee99..5110110 100644 --- a/src/SimpleDwarf.hpp +++ b/src/SimpleDwarf.hpp @@ -34,7 +34,7 @@ struct SimpleDwarf { }; Type type; ///< Type of this register - uintptr_t offset; ///< Offset from the expression, if applicable + int offset; ///< Offset from the expression, if applicable MachineRegister reg; ///< Machine register implied, if applicable friend std::ostream& operator<<(std::ostream &, const DwRegister&);