diff --git a/Userland/Libraries/LibDebug/DebugInfo.cpp b/Userland/Libraries/LibDebug/DebugInfo.cpp index c68062b1df..e84bf569a7 100644 --- a/Userland/Libraries/LibDebug/DebugInfo.cpp +++ b/Userland/Libraries/LibDebug/DebugInfo.cpp @@ -226,7 +226,7 @@ static void parse_variable_location(Dwarf::DIE const& variable_die, DebugInfo::V auto value = Dwarf::Expression::evaluate(expression_bytes, regs); if (value.type != Dwarf::Expression::Type::None) { - VERIFY(value.type == Dwarf::Expression::Type::UnsignedIntetger); + VERIFY(value.type == Dwarf::Expression::Type::UnsignedInteger); variable_info.location_type = DebugInfo::VariableInfo::LocationType::Address; variable_info.location_data.address = value.data.as_u32; } diff --git a/Userland/Libraries/LibDebug/Dwarf/Expression.cpp b/Userland/Libraries/LibDebug/Dwarf/Expression.cpp index 398b98d57b..14b8bfb8fa 100644 --- a/Userland/Libraries/LibDebug/Dwarf/Expression.cpp +++ b/Userland/Libraries/LibDebug/Dwarf/Expression.cpp @@ -25,13 +25,13 @@ Value evaluate(ReadonlyBytes bytes, [[maybe_unused]] PtraceRegisters const& regs case Operations::RegEbp: { ssize_t offset = 0; stream.read_LEB128_signed(offset); - return Value { Type::UnsignedIntetger, { regs.ebp + offset } }; + return Value { Type::UnsignedInteger, { regs.ebp + offset } }; } case Operations::FbReg: { ssize_t offset = 0; stream.read_LEB128_signed(offset); - return Value { Type::UnsignedIntetger, { regs.ebp + 2 * sizeof(size_t) + offset } }; + return Value { Type::UnsignedInteger, { regs.ebp + 2 * sizeof(size_t) + offset } }; } #endif diff --git a/Userland/Libraries/LibDebug/Dwarf/Expression.h b/Userland/Libraries/LibDebug/Dwarf/Expression.h index 8b0eec4003..0355a0a648 100644 --- a/Userland/Libraries/LibDebug/Dwarf/Expression.h +++ b/Userland/Libraries/LibDebug/Dwarf/Expression.h @@ -15,7 +15,7 @@ namespace Debug::Dwarf::Expression { enum class Type { None, - UnsignedIntetger, + UnsignedInteger, Register, };