Moved the section load list up into the target so we can use the target
to symbolicate things without the need for a valid process subclass.

llvm-svn: 113895
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index b7af449..8c5e968 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -1067,7 +1067,8 @@
     {
         bool synchronous_execution = interpreter.GetSynchronous ();
 
-        if (!interpreter.GetDebugger().GetSelectedTarget().get())
+        Target *target = interpreter.GetDebugger().GetSelectedTarget().get();
+        if (target == NULL)
         {
             result.AppendError ("invalid target, set executable file using 'file' command");
             result.SetStatus (eReturnStatusFailed);
@@ -1166,7 +1167,7 @@
                     if (index_ptr == UINT32_MAX)
                         break;
 
-                    addr_t address = line_entry.range.GetBaseAddress().GetLoadAddress(process);
+                    addr_t address = line_entry.range.GetBaseAddress().GetLoadAddress(target);
                     if (address != LLDB_INVALID_ADDRESS)
                         address_list.push_back (address);
                     index_ptr++;