diff options
author | Chris Lattner <sabre@nondot.org> | 2001-08-27 05:16:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-08-27 05:16:50 +0000 |
commit | 86660981e1382f954152b0f029f874aa36de0308 (patch) | |
tree | 840898e5b3808bb9d8a1d926ea976f8335ede2d4 /lib/ExecutionEngine/Interpreter/UserInput.cpp | |
parent | d6075728d26a27f49fb9fe7f5c2cd2e49c31ec8c (diff) |
Lots of new functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/UserInput.cpp')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/UserInput.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/Interpreter/UserInput.cpp b/lib/ExecutionEngine/Interpreter/UserInput.cpp index cfa74f1ffa..f0c7fe1b6b 100644 --- a/lib/ExecutionEngine/Interpreter/UserInput.cpp +++ b/lib/ExecutionEngine/Interpreter/UserInput.cpp @@ -9,10 +9,10 @@ #include <algorithm> enum CommandID { - Quit, Help, // Basics - Print, List, StackTrace, Up, Down, // Inspection - Next, Step, Run, Finish, Call, // Control flow changes - Break, Watch, // Debugging + Quit, Help, // Basics + Print, Info, List, StackTrace, Up, Down, // Inspection + Next, Step, Run, Finish, Call, // Control flow changes + Break, Watch, // Debugging Load, Flush }; @@ -33,6 +33,7 @@ static struct CommandTableElement { { "print" , Print }, { "p", Print }, { "list" , List }, + { "info" , Info }, { "backtrace", StackTrace }, { "bt", StackTrace }, { "where", StackTrace }, { "up" , Up }, { "down" , Down }, @@ -84,6 +85,11 @@ void Interpreter::handleUserInput() { cin >> Command; printValue(Command); break; + case Info: + cin >> Command; + infoValue(Command); + break; + case List: list(); break; case StackTrace: printStackTrace(); break; case Up: |