labath marked an inline comment as done.
labath added a comment.

I have also added a test which loads two core files with the same pid. (Based 
on very little experimentation) everything seems to be working ok for that case.


================
Comment at: source/Plugins/Process/elf-core/ProcessElfCore.cpp:644-647
@@ +643,6 @@
+{
+    info.Clear();
+    info.SetProcessID(GetID());
+    info.SetArchitecture(GetArchitecture());
+    lldb::ModuleSP module_sp = GetTarget().GetExecutableModule();
+    if (module_sp)
----------------
It get's parsed and set as the main target module in `DoLoadCore`, so I load 
the info from there.


http://reviews.llvm.org/D18697



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to