Simplify core file register context handling
authorEd Maste <emaste@freebsd.org>
Sat, 15 Feb 2014 02:31:22 +0000 (02:31 +0000)
committerEd Maste <emaste@freebsd.org>
Sat, 15 Feb 2014 02:31:22 +0000 (02:31 +0000)
commit8b5e46a1595790fa37c1cc7869d2cff8f5766a22
tree929fe36572f0725939a240bb977902ab68718237
parentf1a6a2d9307475b1e1dff3eef355c8fb8486f6e0
Simplify core file register context handling

This seems like a more straightforward approach for instantiating the
appropriate RegisterContext* class, made possible by Michael Sartain's
cleanup of the POSIX RegisterContext class hierarchy in r190647.

Better (user-facing) error handling is still needed.

llvm-svn: 201457
lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp