X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldbg.h;h=da5664eddf749102f4a996bdab12e14f35983fdc;hb=ea3d851aa52e999b1c5a5fa52c97ff5019756c0e;hp=d8b56f825e2c92b0135f16e4bfd2b3db0f67fca7;hpb=7bd7fc784a6f6cff69f79914a445bc2115a7e768;p=gldbg.git diff --git a/source/gldbg.h b/source/gldbg.h index d8b56f8..da5664e 100644 --- a/source/gldbg.h +++ b/source/gldbg.h @@ -39,12 +39,13 @@ public: CommandInterpreter &get_command_interpreter() { return cmd_interp; } Process &get_process() { return process; } void launch(); + void set_breakpoint(unsigned short, char); + void clear_breakpoint(unsigned short, char); void quit(bool); private: void tick(); void check_child(); void read_stream(); - long ptrace(int, void *, void *); virtual void sighandler(int); };