[Lldb-commits] [PATCH] D12615: Teach utilsOsType about NetBSD

Kamil Rytarowski via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 3 16:39:17 PDT 2015


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":


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12615.33988.patch
Type: text/x-patch
Size: 684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150903/f03c78c8/attachment.bin>


More information about the lldb-commits mailing list