[Lldb-commits] [PATCH] D44139: WIP: Update selected thread after loading mach core

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 6 03:02:26 PST 2018


JDevlieghere created this revision.
JDevlieghere added reviewers: jingham, jasonmolenda, labath.
Herald added a subscriber: llvm-commits.

The OS plugins might have updated the thread list after a core file has
been loaded. The physical thread in the core file may no longer be the
one that should be selected. Hence we should run the thread 
selection logic after loading the core.

WIP because of some open questions:

1. What's the best/easiest way to test this?
2. Should we also do this for ELF cores?


Repository:
  rL LLVM

https://reviews.llvm.org/D44139

Files:
  include/lldb/Target/Process.h
  source/Plugins/Process/mach-core/ProcessMachCore.cpp
  source/Target/Process.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44139.137143.patch
Type: text/x-patch
Size: 8565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180306/41db97e9/attachment.bin>


More information about the lldb-commits mailing list