krytarowski created this revision.
krytarowski added a reviewer: joerg.
krytarowski added a subscriber: lldb-commits.
krytarowski set the repository for this revision to rL LLVM.

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source 
operating system.

Repository:
  rL LLVM

http://reviews.llvm.org/D12615

Files:
  scripts/utilsOsType.py

Index: scripts/utilsOsType.py
===================================================================
--- scripts/utilsOsType.py
+++ scripts/utilsOsType.py
@@ -30,6 +30,7 @@
     values = [  "Unknown",
                 "Darwin",
                 "FreeBSD",
+                "NetBSD",
                 "Linux", 
                 "Windows" ]
     class __metaclass__( type ):
@@ -69,6 +70,8 @@
         eOSType = EnumOsType.Darwin
     elif (strOS.startswith("freebsd")):
         eOSType = EnumOsType.FreeBSD
+    elif (strOS.startswith("netbsd")):
+        eOSType = EnumOsType.NetBSD
     elif (strOS.startswith("linux")):
         eOSType = EnumOsType.Linux
     elif strOS == "win32":


Index: scripts/utilsOsType.py
===================================================================
--- scripts/utilsOsType.py
+++ scripts/utilsOsType.py
@@ -30,6 +30,7 @@
     values = [  "Unknown",
                 "Darwin",
                 "FreeBSD",
+                "NetBSD",
                 "Linux", 
                 "Windows" ]
     class __metaclass__( type ):
@@ -69,6 +70,8 @@
         eOSType = EnumOsType.Darwin
     elif (strOS.startswith("freebsd")):
         eOSType = EnumOsType.FreeBSD
+    elif (strOS.startswith("netbsd")):
+        eOSType = EnumOsType.NetBSD
     elif (strOS.startswith("linux")):
         eOSType = EnumOsType.Linux
     elif strOS == "win32":
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to