mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-25 19:02:07 -05:00
LibDebug: Add support for StandardOpcodes::FixAdvancePc
This commit is contained in:
parent
4f6914a0c0
commit
b731db6691
1 changed files with 9 additions and 0 deletions
|
@ -224,6 +224,15 @@ void LineProgram::handle_standard_opcode(u8 opcode)
|
|||
dbgln("SetIsa: {}", isa);
|
||||
break;
|
||||
}
|
||||
case StandardOpcodes::FixAdvancePc: {
|
||||
u16 delta = 0;
|
||||
m_stream >> delta;
|
||||
#if DWARF_DEBUG
|
||||
dbgln("FixAdvancePC by: {} to: {:p}", delta, m_address + delta);
|
||||
#endif
|
||||
m_address += delta;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
dbgln("Unhandled LineProgram opcode {}", opcode);
|
||||
VERIFY_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Reference in a new issue