1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 15:15:07 +00:00

LibDebug: Handle the "set ISA" standard opcode

I don't know what to do with this information, but let's at least skip
over the opcode instead of asserting.
This commit is contained in:
Andreas Kling 2020-11-08 01:07:08 +01:00
parent 0f84e246b2
commit 957e7d10d4

View file

@ -212,7 +212,14 @@ void LineProgram::handle_standard_opcode(u8 opcode)
m_address += address_increment;
break;
}
case StandardOpcodes::SetIsa: {
size_t isa;
m_stream.read_LEB128_unsigned(isa);
dbgln("SetIsa: {}", isa);
break;
}
default:
dbgln("Unhandled LineProgram opcode {}", opcode);
ASSERT_NOT_REACHED();
}
}