Fix display of kernel addresses.

This commit is contained in:
Bartosz Taudul 2020-02-24 22:11:52 +01:00
parent 9c9e854005
commit 4695f60937

View File

@ -11238,11 +11238,12 @@ void View::DrawCallstackWindow()
{ {
if( entry.sel == 0 ) if( entry.sel == 0 )
{ {
ImGui::TextDisabled( "0x%" PRIx64, entry.idx ); const auto addr = m_worker.GetCanonicalPointer( entry );
ImGui::TextDisabled( "0x%" PRIx64, addr );
if( ImGui::IsItemClicked() ) if( ImGui::IsItemClicked() )
{ {
char tmp[32]; char tmp[32];
sprintf( tmp, "0x%" PRIx64, entry.idx ); sprintf( tmp, "0x%" PRIx64, addr );
ImGui::SetClipboardText( tmp ); ImGui::SetClipboardText( tmp );
} }
} }