Author: sas Date: Tue Sep 8 20:22:05 2015 New Revision: 247116 URL: http://llvm.org/viewvc/llvm-project?rev=247116&view=rev Log: Teach utilsOsType about NetBSD
Summary: NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. Reviewers: joerg, sas Subscribers: sas, emaste, lldb-commits Differential Revision: http://reviews.llvm.org/D12615 Change by Kamil Rytarowski <n...@gmx.com> Modified: lldb/trunk/scripts/utilsOsType.py Modified: lldb/trunk/scripts/utilsOsType.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/utilsOsType.py?rev=247116&r1=247115&r2=247116&view=diff ============================================================================== --- lldb/trunk/scripts/utilsOsType.py (original) +++ lldb/trunk/scripts/utilsOsType.py Tue Sep 8 20:22:05 2015 @@ -31,6 +31,7 @@ class EnumOsType( object ): "Darwin", "FreeBSD", "Linux", + "NetBSD", "Windows" ] class __metaclass__( type ): #++--------------------------------------------------------------------------- @@ -71,6 +72,8 @@ def determine_os_type(): eOSType = EnumOsType.FreeBSD elif (strOS.startswith("linux")): eOSType = EnumOsType.Linux + elif (strOS.startswith("netbsd")): + eOSType = EnumOsType.NetBSD elif strOS == "win32": eOSType = EnumOsType.Windows _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits