ide: PDB debugger Align function

This commit is contained in:
Mirek Fidler 2025-01-12 09:42:23 +01:00
parent 1bf5a62ea4
commit 96eeef609d
7 changed files with 40 additions and 21 deletions

View file

@ -134,6 +134,9 @@ void Pdb::LoadPrettyScripts()
SetVal(v, val);
e = v;
});
Escape(pretty_globals, "Align(adr, sz)", [=](EscEscape& e) {
e = (int64)Align(e[0].GetInt64(), e[1].GetInt64());
});
}
void Pdb::SetVal(EscValue& v, Pdb::Val val)