[Lldb-commits] [lldb] r247116 - Teach utilsOsType about NetBSD
Stephane Sezer via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 8 18:22:06 PDT 2015
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 <n54 at 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
More information about the lldb-commits
mailing list