3 This file is part of gldbg
4 Copyright © 2009 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"
21 class GlDbg: public Msp::Application
24 CommandInterpreter cmd_interp;
35 static RegApp<GlDbg> reg;
40 Tracer &get_tracer() { return tracer; }
41 GlState &get_glstate() { return glstate; }
42 Profiler &get_profiler() { return profiler; }
43 Process &get_process() { return process; }
50 long ptrace(int, void *, void *);
51 virtual void sighandler(int);