X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldbg.h;h=e53998251e3821bef667526e5346de0717741a22;hb=7642653a18f7464dd093a93a1247b8f18e53cd1a;hp=543df05a580265b5d88e395f995ffb2b2a0f0438;hpb=de6ac03ffc36843bbbb0d496007b3046a4422ee1;p=gldbg.git diff --git a/source/gldbg.h b/source/gldbg.h index 543df05..e539982 100644 --- a/source/gldbg.h +++ b/source/gldbg.h @@ -13,10 +13,7 @@ Distributed under the GPL #include #include #include "commandinterpreter.h" -#include "glstate.h" #include "process.h" -#include "profiler.h" -#include "tracer.h" class Tool; @@ -30,20 +27,16 @@ private: unsigned buf_offset; bool flushing; std::list tools; - Tracer tracer; - GlState glstate; - Profiler profiler; bool got_sigchld; static RegApp reg; public: GlDbg(int, char **); + ~GlDbg(); + int main(); CommandInterpreter &get_command_interpreter() { return cmd_interp; } - Tracer &get_tracer() { return tracer; } - GlState &get_glstate() { return glstate; } - Profiler &get_profiler() { return profiler; } Process &get_process() { return process; } void launch(); void quit(bool); @@ -51,7 +44,6 @@ private: void tick(); void check_child(); void read_stream(); - long ptrace(int, void *, void *); virtual void sighandler(int); };