]> git.tdb.fi Git - gldbg.git/blobdiff - source/commandinterpreter.h
Fix several problems reported by valgrind
[gldbg.git] / source / commandinterpreter.h
index cc6246e927390465301983e03cd290662a8d37e3..ca5060b4d50f42e4757cadc0f40cf12d5a49f5ad 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of gldbg
-Copyright © 2009-2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the GPL
-*/
-
 #ifndef COMMANDINTERPRETER_H_
 #define COMMANDINTERPRETER_H_
 
@@ -71,6 +64,7 @@ private:
 
 public:
        CommandInterpreter(GlDbg &);
+       ~CommandInterpreter();
 
        template<typename T>
        Command &register_command(const std::string &n, T *o, void (T::*f)(const std::string &))
@@ -81,6 +75,10 @@ public:
 private:
        void cmd_help(const std::string &);
        void cmd_run(const std::string &);
+       void cmd_break(const std::string &);
+       void cmd_unbreak(const std::string &);
+       void cmd_next(const std::string &);
+       void cmd_finish(const std::string &);
        void cmd_continue(const std::string &);
        void cmd_signal(const std::string &);
        void cmd_kill(const std::string &);