aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-db/CLIDebugger.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-06 05:37:16 +0000
committerChris Lattner <sabre@nondot.org>2004-01-06 05:37:16 +0000
commite1567ae5ef3dc5f8a089bfe85e43980a08b99ad1 (patch)
tree2f969c8c90c5f0697354a026f9b64d8cb6c1de40 /tools/llvm-db/CLIDebugger.h
parent8b1125f53d41ae5befd87cb44839564321c8b791 (diff)
* Implement set/show args
* Implement support for arguments to the 'run' command * Minor cleanups and fixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-db/CLIDebugger.h')
-rw-r--r--tools/llvm-db/CLIDebugger.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/llvm-db/CLIDebugger.h b/tools/llvm-db/CLIDebugger.h
index 046c2e8429..e2dbaaff7c 100644
--- a/tools/llvm-db/CLIDebugger.h
+++ b/tools/llvm-db/CLIDebugger.h
@@ -184,16 +184,21 @@ namespace llvm {
/// start executing the program.
void startProgramRunning();
+ /// printSourceLine - Print the specified line of the current source file.
+ /// If the specified line is invalid (the source file could not be loaded or
+ /// the line number is out of range), don't print anything, but return true.
+ bool printSourceLine(unsigned LineNo);
+
/// parseLineSpec - Parses a line specifier, for use by the 'list' command.
/// If SourceFile is returned as a void pointer, then it was not specified.
/// If the line specifier is invalid, an exception is thrown.
void parseLineSpec(std::string &LineSpec, const SourceFile *&SourceFile,
unsigned &LineNo);
- /// printSourceLine - Print the specified line of the current source file.
- /// If the specified line is invalid (the source file could not be loaded or
- /// the line number is out of range), don't print anything, but return true.
- bool printSourceLine(unsigned LineNo);
+ /// parseProgramOptions - This method parses the Options string and loads it
+ /// as options to be passed to the program. This is used by the run command
+ /// and by 'set args'.
+ void parseProgramOptions(std::string &Options);
};
}