[lldb] [Process/elf-core] Fix reading NetBSD/i386 core dumps
authorMichał Górny <mgorny@moritz.systems>
Thu, 22 Apr 2021 17:42:52 +0000 (19:42 +0200)
committerMichał Górny <mgorny@moritz.systems>
Sun, 20 Jun 2021 16:59:21 +0000 (18:59 +0200)
commitd4c437c4289c0e0fd2684920b7e59b3f3c19b8e5
tree43928153f402a6de17df8ff2cc9f2f56b0cdd678
parenta24b02193a305628066486a5eeee331054e06b5b
[lldb] [Process/elf-core] Fix reading NetBSD/i386 core dumps

Add support for extracting basic data from NetBSD/i386 core dumps.
FPU registers are not supported at the moment.

Differential Revision: https://reviews.llvm.org/D101091
lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
lldb/source/Plugins/Process/elf-core/RegisterUtilities.h
lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
lldb/test/Shell/Register/Core/x86-32-netbsd-addr.test [new file with mode: 0644]
lldb/test/Shell/Register/Core/x86-32-netbsd-gp.test [new file with mode: 0644]