llvm-project/lldb/source
Kamil Rytarowski 426e864182 Correct environ parsing on NetBSD
Summary:
This replaces old code in Host::GetEnvironment for NetBSD
with the version from Linux. This makes parsing environment
variables correctly. It also fixes programs that depend on the
variables like curses(3) applications.

Long term this function should be moved to Process Plugin,
as currently env variables are not available with remote
debugging.

Other BSDs might want to catch up after this change.

Tested with NetBSD top(1).

Sponsored by <The NetBSD Foundation>

Reviewers: emaste, labath, joerg, kettenis

Reviewed By: emaste

Subscribers: #lldb

Tags: #lldb

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

llvm-svn: 299783
2017-04-07 16:45:36 +00:00
..
API Move the definition of SBListener::GetSP() to SBListener.cpp. 2017-03-29 19:32:59 +00:00
Breakpoint iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
Commands iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
Core iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
DataFormatters Stop calling ValueObject::SetName from synthetic child providers 2017-03-31 20:48:00 +00:00
Expression Revert r298776 - Expression: add missing linkage to RuntimeDyld ... 2017-03-30 18:24:07 +00:00
Host Correct environ parsing on NetBSD 2017-04-07 16:45:36 +00:00
Initialization Enable ProcessPOSIXLog on NetBSD 2017-03-21 17:26:55 +00:00
Interpreter Delete some more dead includes. 2017-03-22 23:33:16 +00:00
Plugins New C++ function name parsing logic (Resubmit) 2017-04-06 22:36:02 +00:00
Symbol Remove dead include from GoASTContext.cpp. 2017-03-22 19:24:17 +00:00
Target iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
Utility iwyu fixes on lldbUtility. 2017-04-06 18:12:24 +00:00
CMakeLists.txt [LLDB] OpenBSD support 2017-03-26 15:34:57 +00:00
lldb.cpp One more cleanup to lldb version printing 2016-11-14 22:43:08 +00:00