elf-core: handle core with a single NT_PRPSINFO (not one per thread)
authorEd Maste <emaste@freebsd.org>
Fri, 19 Jul 2013 00:25:02 +0000 (00:25 +0000)
committerEd Maste <emaste@freebsd.org>
Fri, 19 Jul 2013 00:25:02 +0000 (00:25 +0000)
commit35f091dd176e4a1d2ddf82c6ae3a9cfb91c31466
treead4a96348353ceeae2f52f4d3456176741bb9dc1
parentb13ef17a149973087d8b11c716b3574e820deeed
elf-core: handle core with a single NT_PRPSINFO (not one per thread)

On FreeBSD we have only one NT_PRPSINFO in a core file, regardless of the
number of threads.  Consider a new thread to start whenever we see another
instance of either NT_PRPSINFO or NT_PRSTATUS.

Thanks to Samuel Jacob for testing this patch on Linux cores.

llvm-svn: 186633
lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp