summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Debugger.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-09-13 23:03:20 +0000
committerGreg Clayton <gclayton@apple.com>2012-09-13 23:03:20 +0000
commita12993c930cd50602ecbe2901e2b49fefa3d3bc1 (patch)
tree4e33331a450f8cf2be03586e79a39f84702aebf6 /lldb/source/Core/Debugger.cpp
parent31b617d7f01a15a7709193d3e02e5e71cc9669d9 (diff)
downloadbcm5719-llvm-a12993c930cd50602ecbe2901e2b49fefa3d3bc1.tar.gz
bcm5719-llvm-a12993c930cd50602ecbe2901e2b49fefa3d3bc1.zip
Fixed an error with a static enum definition where it wasn't NULL terminate and could crash.
llvm-svn: 163851
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r--lldb/source/Core/Debugger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 6cbe90c675d..b6e4f811062 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -86,6 +86,7 @@ g_language_enumerators[] =
{ 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}}}"
OpenPOWER on IntegriCloud