Fix lldb.
authormortimer <mortimer@openbsd.org>
Tue, 9 Feb 2021 21:35:45 +0000 (21:35 +0000)
committermortimer <mortimer@openbsd.org>
Tue, 9 Feb 2021 21:35:45 +0000 (21:35 +0000)
commit972f549b71a24bab39c35c97f14ab2f72eae5e8d
tree96693cefd25aab1fa0b96078e6a627f3d0740251
parentb99ef4df7fac99f3475b694d6cd4990521c99ae6
Fix lldb.

Map deliberately invalid signal to zero when passing to PT_STEP and P_CONTINUE.

Also clean up getting Environment so setting LLDB_DEBUGSERVER env vars works again.

ok patrick@
gnu/llvm/lldb/source/Host/openbsd/Host.cpp
gnu/llvm/lldb/source/Plugins/Process/OpenBSD/NativeProcessOpenBSD.cpp