CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2021/02/14 09:16:03

Modified files:
        gnu/llvm/lldb/source/Plugins/Process/OpenBSD: CMakeLists.txt 
                                                      
NativeRegisterContextOpenBSD.h 
                                                      
NativeRegisterContextOpenBSD_arm64.cpp 
                                                      
NativeRegisterContextOpenBSD_arm64.h 
                                                      
NativeRegisterContextOpenBSD_x86_64.cpp 
                                                      
NativeRegisterContextOpenBSD_x86_64.h 
                                                      NativeThreadOpenBSD.cpp 
        gnu/usr.bin/clang/liblldbPluginProcess: Makefile 
Added files:
        gnu/llvm/lldb/source/Plugins/Process/OpenBSD: 
                                                      
NativeRegisterContextOpenBSD_arch.cpp 

Log message:
Shuffle how lldb register contexts are built.

Instead of using #if defined(__arch__) to include / exclude the entire contents
of the NativeRegisterContext implementations, use a single 
NativeRegisterContextOpenBSD_arch
which includes the right arch specific register context, and provides a dummy 
implementation
for unsupported architectures.

This allows building lldb on architectures which do not have a register context 
implementation
so it can be used as a remote client.

ok patrick@

Reply via email to