From 8dba099a56b86fa4e94ccc965a8e7d63dec0ef25 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 28 Mar 2020 00:57:41 +0100 Subject: [PATCH] Revert "Base address is not needed." This reverts commit 058369bc7a25ea0027916b1dda350d75201b6068. --- server/TracySourceView.cpp | 1 + server/TracySourceView.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 2652a6b1..372b8d61 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -38,6 +38,7 @@ void SourceView::Open( const char* fileName, int line, uint64_t baseAddr, uint64 m_targetLine = line; m_selectedLine = line; m_targetAddr = symAddr; + m_baseAddr = baseAddr; m_symAddr = symAddr; if( m_file != fileName ) diff --git a/server/TracySourceView.hpp b/server/TracySourceView.hpp index a8801d0f..0639b6ea 100644 --- a/server/TracySourceView.hpp +++ b/server/TracySourceView.hpp @@ -40,6 +40,7 @@ private: ImFont* m_font; const char* m_file; uint64_t m_symAddr; + uint64_t m_baseAddr; uint64_t m_targetAddr; char* m_data; size_t m_dataSize;