summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/scripts/utilsOsType.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/utilsOsType.py b/lldb/scripts/utilsOsType.py
index bbfd56f6357..79c904822ec 100644
--- a/lldb/scripts/utilsOsType.py
+++ b/lldb/scripts/utilsOsType.py
@@ -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
OpenPOWER on IntegriCloud