3 This file is part of gldbg
4 Copyright © 2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the GPL
8 #ifndef COMMANDINTERPRETER_H_
9 #define COMMANDINTERPRETER_H_
16 class CommandInterpreter
19 typedef void (CommandInterpreter::*CommandFunc)(const std::string &);
20 typedef std::map<std::string, CommandFunc> CommandMap;
26 CommandInterpreter(GlDbg &);
27 void execute(const std::string &);
30 void cmd_run(const std::string &);
31 void cmd_continue(const std::string &);
32 void cmd_signal(const std::string &);
33 void cmd_kill(const std::string &);
34 void cmd_exit(const std::string &);
35 void cmd_trace(const std::string &);