]> git.tdb.fi Git - gldbg.git/blobdiff - source/commandinterpreter.cpp
Track owners of breakpoints
[gldbg.git] / source / commandinterpreter.cpp
index 25f004ef32a639497437eaf5709c0b87c64465d5..fe0c3f1bc5df51334de7b2c00233c659d05fb511 100644 (file)
@@ -119,7 +119,7 @@ void CommandInterpreter::cmd_break(const string &args)
        if(!func)
                throw InvalidParameterValue("Unknown function");
 
-       gldbg.set_breakpoint(func, BREAK_CALL);
+       gldbg.set_breakpoint(func, BREAK_CALL, 0);
 }
 
 void CommandInterpreter::cmd_unbreak(const string &args)
@@ -128,18 +128,18 @@ void CommandInterpreter::cmd_unbreak(const string &args)
        if(!func)
                throw InvalidParameterValue("Unknown function");
 
-       gldbg.clear_breakpoint(func, BREAK_CALL);
+       gldbg.clear_breakpoint(func, BREAK_CALL, 0);
 }
 
 void CommandInterpreter::cmd_next(const string &)
 {
-       gldbg.set_breakpoint(0, BREAK_CALL);
+       gldbg.set_breakpoint(0, BREAK_CALL, 0);
        gldbg.get_process().resume();
 }
 
 void CommandInterpreter::cmd_finish(const string &)
 {
-       gldbg.set_breakpoint(0, BREAK_RETURN);
+       gldbg.set_breakpoint(0, BREAK_RETURN, 0);
        gldbg.get_process().resume();
 }