From 86e90b3cfae0c011088cb15c1d5f1cd5b9a83ba1 Mon Sep 17 00:00:00 2001 From: Dawn Perchik Date: Tue, 16 Jun 2015 22:53:27 +0000 Subject: [PATCH] Fix comments (MI). llvm-svn: 239861 --- lldb/tools/lldb-mi/MIDriver.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lldb/tools/lldb-mi/MIDriver.cpp b/lldb/tools/lldb-mi/MIDriver.cpp index e4f0922..4012bb9 100644 --- a/lldb/tools/lldb-mi/MIDriver.cpp +++ b/lldb/tools/lldb-mi/MIDriver.cpp @@ -370,16 +370,16 @@ CMIDriver::DoParseArgs(const int argc, const char *argv[], FILE *vpStdOut, bool // Details: Check the arguments that were passed to this program to make sure they are // valid and to get their argument values (if any). The following are options // that are only handled by *this driver: -// --executable +// --executable +// --source or -s // The application's options --interpreter and --executable in code act very similar. // The --executable is necessary to differentiate whether the MI Driver is being // used by a client (e.g. Eclipse) or from the command line. Eclipse issues the option // --interpreter and also passes additional arguments which can be interpreted as an -// executable if called from the command line. Using --executable tells the MI -// Driver is being called the command line and that the executable argument is indeed -// a specified executable an so actions commands to set up the executable for a -// debug session. Using --interpreter on the commnd line does not action additional -// commands to initialise a debug session and so be able to launch the process. +// executable if called from the command line. Using --executable tells the MI Driver +// it is being called from the command line and to prepare to launch the executable +// argument for a debug session. Using --interpreter on the commnd line does not +// issue additional commands to initialise a debug session. // Type: Overridden. // Args: argc - (R) An integer that contains the count of arguments that follow in // argv. The argc parameter is always greater than or equal to 1. @@ -1260,7 +1260,8 @@ CMIDriver::IsDriverDebuggingArgExecutable(void) const } //++ ------------------------------------------------------------------------------------ -// Details: Execute commands from prepared source file +// Details: Execute commands from command source file in specified mode, and +// set exit-flag if needed. // Type: Method. // Args: vbAsyncMode - (R) True = execute commands in asynchronous mode, false = otherwise. // Return: MIstatus::success - Function succeeded. -- 2.7.4