com php-src: remove cont: phpdbg_help.c phpdbg_help.h phpdbg_prompt.c
| From: | Bob Weinand | Date: | Sun, 10 Nov 2013 21:09:35 +0000 |
| Subject: | com php-src: remove cont: phpdbg_help.c phpdbg_help.h phpdbg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75173@lists.php.net to get a copy of this message | ||
Commit: 1591b0e5f6c495f29e0f2394505e62300dfe512a
Author: krakjoe <joe.watkins@live.co.uk> Sun, 10 Nov 2013 21:09:35 +0000
Parents: 6203c96061501091ba6851fca655c5c02252581d
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1591b0e5f6c495f29e0f2394505e62300dfe512a
Log:
remove cont
Changed paths:
M phpdbg_help.c
M phpdbg_help.h
M phpdbg_prompt.c
Diff:
diff --git a/phpdbg_help.c b/phpdbg_help.c
index 370c15e..f1e7cc7 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 8ce6f96..4b683b6 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 483835f..407a204 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"),