HomePhabricator

[lldb] Improve debugging 32-bit programs on NetBSD/amd64

Authored by mgorny on Jan 12 2020, 1:49 PM.

Description

[lldb] Improve debugging 32-bit programs on NetBSD/amd64

Implement detection of ELF binary format, and support for i386 register
context on amd64 when a 32-bit executable is being debugged. This is
roughly based on the code from Linux.

Differential Revision: https://reviews.llvm.org/D73974