mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-29 11:53:23 +08:00
[0.2.x] fixed: reload module with spaces in image path may fail
git-svn-id: https://pykd.svn.codeplex.com/svn@82050 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
7d91a79afa
commit
4e538716d5
@ -81,14 +81,15 @@ SymbolSessionPtr& Module::getSymSession()
|
||||
|
||||
// TODO: read image file path and load using IDiaReadExeAtOffsetCallback
|
||||
|
||||
try
|
||||
{
|
||||
m_symfile = getModuleSymbolFileName(m_base);
|
||||
if (!m_symfile.empty() )
|
||||
{
|
||||
try
|
||||
{
|
||||
m_symSession = loadSymbolFile(m_symfile, m_base);
|
||||
}
|
||||
catch(const SymbolException&)
|
||||
}
|
||||
catch(const DbgException&)
|
||||
{
|
||||
}
|
||||
|
||||
@ -97,7 +98,6 @@ SymbolSessionPtr& Module::getSymSession()
|
||||
m_symSessionCache.insert( std::make_pair( cacheKey, m_symSession ) );
|
||||
return m_symSession;
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user