X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcommandinterpreter.cpp;fp=source%2Fcommandinterpreter.cpp;h=fe0c3f1bc5df51334de7b2c00233c659d05fb511;hb=6d297b506314c07bff3d77c2853a5f59380cfcb0;hp=25f004ef32a639497437eaf5709c0b87c64465d5;hpb=8ddb049bf9cb06c377857ab46b7af23c140f12a7;p=gldbg.git diff --git a/source/commandinterpreter.cpp b/source/commandinterpreter.cpp index 25f004e..fe0c3f1 100644 --- a/source/commandinterpreter.cpp +++ b/source/commandinterpreter.cpp @@ -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(); }