Fix stack memory view on the debugger

the debugger uses super ptr which was unmapped for stack.
This commit is contained in:
eladash authored and Ivan committed 2019-03-31 14:57:21 +03:00
1 parent f15eb88f59
commit 6502d933df
1 file changed
+1 -1
+1 -1
View File
@@ -638,7 +638,7 @@ namespace vm
// Special path for 4k-aligned pages
m_common = std::make_shared<utils::shm>(size);
verify(HERE), m_common->map_critical(vm::base(addr), utils::protection::no) == vm::base(addr);
verify(HERE), m_common->map_critical(vm::get_super_ptr(addr), utils::protection::no) == vm::get_super_ptr(addr);
verify(HERE), m_common->map_critical(vm::get_super_ptr(addr), utils::protection::rw) == vm::get_super_ptr(addr);
}
}