[Lldb-commits] [lldb] r163851 - /lldb/trunk/source/Core/Debugger.cpp

Greg Clayton gclayton at apple.com
Thu Sep 13 16:03:20 PDT 2012


Author: gclayton
Date: Thu Sep 13 18:03:20 2012
New Revision: 163851

URL: http://llvm.org/viewvc/llvm-project?rev=163851&view=rev
Log:
Fixed an error with a static enum definition where it wasn't NULL terminate and could crash.


Modified:
    lldb/trunk/source/Core/Debugger.cpp

Modified: lldb/trunk/source/Core/Debugger.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Debugger.cpp?rev=163851&r1=163850&r2=163851&view=diff
==============================================================================
--- lldb/trunk/source/Core/Debugger.cpp (original)
+++ lldb/trunk/source/Core/Debugger.cpp Thu Sep 13 18:03:20 2012
@@ -86,6 +86,7 @@
     { eScriptLanguageNone,      "none",     "Disable scripting languages."},
     { eScriptLanguagePython,    "python",   "Select python as the default scripting language."},
     { eScriptLanguageDefault,   "default",  "Select the lldb default as the default scripting language."},
+    { 0, NULL, NULL }
 };
 
 #define MODULE_WITH_FUNC "{ ${module.file.basename}{`${function.name-with-args}${function.pc-offset}}}"





More information about the lldb-commits mailing list