From c5f57830443d93ad7b041dce8b802fc864b47849 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sun, 5 Dec 2010 20:38:01 +0000 Subject: [PATCH] Fixed an issue where SBProcess::LoadImage(...) was not returning the image token. llvm-svn: 120954 --- lldb/source/API/SBProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp index 614c8dcaa017..0c2eac500c71 100644 --- a/lldb/source/API/SBProcess.cpp +++ b/lldb/source/API/SBProcess.cpp @@ -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; }