3 This file is part of gldbg
4 Copyright © 2009-2010 Mikko Rasa, Mikkosoft Productions
5 Distributed under the GPL
13 #include <msp/core/application.h>
14 #include <msp/fs/path.h>
15 #include "commandinterpreter.h"
23 class GlDbg: public Msp::Application
26 CommandInterpreter cmd_interp;
32 std::list<Tool *> tools;
38 static RegApp<GlDbg> reg;
43 CommandInterpreter &get_command_interpreter() { return cmd_interp; }
44 Tracer &get_tracer() { return tracer; }
45 GlState &get_glstate() { return glstate; }
46 Profiler &get_profiler() { return profiler; }
47 Process &get_process() { return process; }
54 long ptrace(int, void *, void *);
55 virtual void sighandler(int);