Author: dperchik
Date: Wed Jun 17 18:43:29 2015
New Revision: 239975

URL: http://llvm.org/viewvc/llvm-project?rev=239975&view=rev
Log:
Add help for lldb-mi --source/-s option (MI)

Test Plan: lldb-mi --interpreter --help
Reviewed By: clayborg, abidh
Differential Revision: http://reviews.llvm.org/D10489

Modified:
    lldb/trunk/tools/lldb-mi/MICmnResources.cpp
    lldb/trunk/tools/lldb-mi/MICmnResources.h
    lldb/trunk/tools/lldb-mi/MIDriverMgr.cpp

Modified: lldb/trunk/tools/lldb-mi/MICmnResources.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnResources.cpp?rev=239975&r1=239974&r2=239975&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnResources.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnResources.cpp Wed Jun 17 18:43:29 2015
@@ -63,6 +63,9 @@ const CMICmnResources::SRsrcTextData CMI
     {IDE_MI_APP_ARG_VERSION_LONG, "--versionLong\n\tPrints out MI Driver 
version information. Exit the MI Driver\n\timmediately."},
     {IDE_MI_APP_ARG_INTERPRETER, "--interpreter\n\t This option is kept for 
backward compatibility. This executable always run in MI mode"},
     {IDE_MI_APP_ARG_EXECUTEABLE, "--executable\n\tUse the MI Driver in MI mode 
for the debugging the specified executable." },
+    {IDE_MI_APP_ARG_SOURCE, "-s <filename>\n--source <filename>\n\t"
+                            "Tells the debugger to read in and execute the 
lldb commands in the\n\t"
+                            "given file, after any file provided on the 
command line has been\n\tloaded."},
     {IDE_MI_APP_ARG_APP_LOG, "--log\n\tUse this argument to tell the MI Driver 
to update it's log\n\tfile '%s'."},
     {IDE_MI_APP_ARG_APP_LOG_DIR, "--log-dir\n\tUse this argument to specify 
the directory the MI Driver\n\twill place the log file in, i.e --log-dir=/tmp." 
},
     {IDE_MI_APP_ARG_EXAMPLE, "Example MI command:\n\t3-info-gdb-mi-command 
gdb-set\n\t3^done,command={exists=\"true\"}"},

Modified: lldb/trunk/tools/lldb-mi/MICmnResources.h
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnResources.h?rev=239975&r1=239974&r2=239975&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnResources.h (original)
+++ lldb/trunk/tools/lldb-mi/MICmnResources.h Wed Jun 17 18:43:29 2015
@@ -73,6 +73,7 @@ enum
     IDE_MI_APP_ARG_VERSION_LONG,
     IDE_MI_APP_ARG_INTERPRETER,
     IDE_MI_APP_ARG_EXECUTEABLE,
+    IDE_MI_APP_ARG_SOURCE,
     IDE_MI_APP_ARG_APP_LOG,
     IDE_MI_APP_ARG_APP_LOG_DIR,
     IDE_MI_APP_ARG_EXAMPLE,

Modified: lldb/trunk/tools/lldb-mi/MIDriverMgr.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIDriverMgr.cpp?rev=239975&r1=239974&r2=239975&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIDriverMgr.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MIDriverMgr.cpp Wed Jun 17 18:43:29 2015
@@ -626,6 +626,7 @@ CMIDriverMgr::GetHelpOnCmdLineArgOptions
         MIRSRC(IDE_MI_APP_ARG_VERSION),
         MIRSRC(IDE_MI_APP_ARG_VERSION_LONG),
         MIRSRC(IDE_MI_APP_ARG_INTERPRETER),
+        MIRSRC(IDE_MI_APP_ARG_SOURCE),
         MIRSRC(IDE_MI_APP_ARG_EXECUTEABLE),
         CMIUtilString::Format(MIRSRC(IDE_MI_APP_ARG_APP_LOG), 
CMICmnLogMediumFile::Instance().GetFileName().c_str()),
         MIRSRC(IDE_MI_APP_ARG_APP_LOG_DIR),


_______________________________________________
lldb-commits mailing list
lldb-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to