From: krakjoe Date: Sun, 10 Nov 2013 21:09:35 +0000 (+0000) Subject: remove cont X-Git-Tag: php-5.6.0alpha1~110^2~511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1591b0e5f6c495f29e0f2394505e62300dfe512a;p=php remove cont --- diff --git a/phpdbg_help.c b/phpdbg_help.c index 370c15eba0..f1e7cc7568 100644 --- a/phpdbg_help.c +++ b/phpdbg_help.c @@ -41,7 +41,7 @@ PHPDBG_HELP(step) /* {{{ */ PHPDBG_HELP(next) /* {{{ */ { - printf("While stepping through execution, use the next command to step back into the vm and execute the next opcode"); + printf("While stepping through execution, or after a breakpoint, use the next command to step back into the vm and execute the next opcode\n"); return SUCCESS; } /* }}} */ @@ -91,13 +91,6 @@ PHPDBG_HELP(break) /* {{{ */ return SUCCESS; } /* }}} */ -PHPDBG_HELP(cont) /* {{{ */ -{ - printf("Continues execution after a breakpoint is met\n"); - printf("[Warnings about using stepping and break points here]\n"); - return SUCCESS; -} /* }}} */ - PHPDBG_HELP(back) /* {{{ */ { printf("The backtrace is gathered with the default debug_backtrace functionality.\n"); diff --git a/phpdbg_help.h b/phpdbg_help.h index 8ce6f9691d..4b683b6893 100644 --- a/phpdbg_help.h +++ b/phpdbg_help.h @@ -41,7 +41,6 @@ PHPDBG_HELP(run); PHPDBG_HELP(eval); PHPDBG_HELP(print); PHPDBG_HELP(break); -PHPDBG_HELP(cont); PHPDBG_HELP(back); /** @@ -51,12 +50,11 @@ static const phpdbg_command_t phpdbg_help_commands[] = { PHPDBG_HELP_D(exec, "the execution context should be a valid phpdbg path"), PHPDBG_HELP_D(compile, "pre-compilation allows inspection of code before execution"), PHPDBG_HELP_D(step, "stepping through execution allows inspection of the opline after every opcode"), - PHPDBG_HELP_D(next, "execute the next opcode"), + PHPDBG_HELP_D(next, "continue executing while stepping or after breaking"), PHPDBG_HELP_D(run, "execution inside the phpdbg vm allows detailed inspection and debugging"), PHPDBG_HELP_D(eval, "access to eval() allows you to affect the environment during execution"), PHPDBG_HELP_D(print, "printing allows inspection of the execution environment"), PHPDBG_HELP_D(break, "breakpoints allow execution interruption"), - PHPDBG_HELP_D(cont, "use continue when a break point is met"), PHPDBG_HELP_D(back, "show debug backtrace information during execution"), {NULL, 0, 0} diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 483835f4b9..407a204168 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -104,11 +104,6 @@ static PHPDBG_COMMAND(next) /* {{{ */ return PHPDBG_NEXT; } /* }}} */ -static PHPDBG_COMMAND(cont) /* {{{ */ -{ - return SUCCESS; -} /* }}} */ - static PHPDBG_COMMAND(run) /* {{{ */ { if (PHPDBG_G(ops) || PHPDBG_G(exec)) { @@ -290,12 +285,11 @@ static const phpdbg_command_t phpdbg_prompt_commands[] = { PHPDBG_COMMAND_D(exec, "set execution context"), PHPDBG_COMMAND_D(compile, "attempt to pre-compile execution context"), PHPDBG_COMMAND_D(step, "step through execution"), - PHPDBG_COMMAND_D(next, "next opcode"), + PHPDBG_COMMAND_D(next, "continue execution"), PHPDBG_COMMAND_D(run, "attempt execution"), PHPDBG_COMMAND_D(eval, "evaluate some code"), PHPDBG_COMMAND_D(print, "print something"), PHPDBG_COMMAND_D(break, "set breakpoint"), - PHPDBG_COMMAND_D(cont, "continue execution"), PHPDBG_COMMAND_D(back, "show backtrace"), PHPDBG_COMMAND_D(help, "show help menu"), PHPDBG_COMMAND_D(quit, "exit phpdbg"),