]> granicus.if.org Git - php/commitdiff
remove cont
authorkrakjoe <joe.watkins@live.co.uk>
Sun, 10 Nov 2013 21:09:35 +0000 (21:09 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sun, 10 Nov 2013 21:09:35 +0000 (21:09 +0000)
phpdbg_help.c
phpdbg_help.h
phpdbg_prompt.c

index 370c15eba0fddf7799faef5d2673c1ea596853ba..f1e7cc7568d6d44060ff2983d131f6eba778fad8 100644 (file)
@@ -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");
index 8ce6f9691d2605fac684812106de074f1a025650..4b683b6893b3f0700e0e7f0590dedd71a592ef57 100644 (file)
@@ -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}
index 483835f4b96469d251412c8fbb12ab469c0d8025..407a20416849f0db905c478705ce268dbbcc89ec 100644 (file)
@@ -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"),