Fixed an issue where SBProcess::LoadImage(...) was not returning the image

token.

llvm-svn: 120954
This commit is contained in:
Greg Clayton 2010-12-05 20:38:01 +00:00
parent 6766c420a2
commit c5f5783044
1 changed files with 1 additions and 1 deletions

View File

@ -716,7 +716,7 @@ uint32_t
SBProcess::LoadImage (lldb::SBFileSpec &sb_image_spec, lldb::SBError &sb_error)
{
if (m_opaque_sp)
m_opaque_sp->LoadImage (*sb_image_spec, sb_error.ref());
return m_opaque_sp->LoadImage (*sb_image_spec, sb_error.ref());
return LLDB_INVALID_IMAGE_TOKEN;
}