From 2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Aug 2001 05:16:50 +0000 Subject: Lots of new functionality llvm-svn: 372 --- llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp') diff --git a/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp b/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp index cfa74f1ffa5..f0c7fe1b6b8 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp @@ -9,10 +9,10 @@ #include 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: -- cgit v1.2.3