1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:27:35 +00:00

LibDebug: Remove i686 support

This commit is contained in:
Liav A 2022-10-04 02:54:37 +03:00 committed by Andreas Kling
parent a4c87fac56
commit 1d26b46884
4 changed files with 6 additions and 33 deletions

View file

@ -21,19 +21,6 @@ Value evaluate(ReadonlyBytes bytes, [[maybe_unused]] PtraceRegisters const& regs
stream >> opcode;
switch (static_cast<Operations>(opcode)) {
#if ARCH(I386)
case Operations::RegEbp: {
ssize_t offset = 0;
stream.read_LEB128_signed(offset);
return Value { Type::UnsignedInteger, { regs.ebp + offset } };
}
case Operations::FbReg: {
ssize_t offset = 0;
stream.read_LEB128_signed(offset);
return Value { Type::UnsignedInteger, { regs.ebp + 2 * sizeof(size_t) + offset } };
}
#endif
default:
dbgln("DWARF expr addr: {:p}", bytes.data());