com php-src: add help for break op command: phpdbg_help.c
| From: | Bob Weinand | Date: | Sun, 24 Nov 2013 07:01:50 +0000 |
| Subject: | com php-src: add help for break op command: phpdbg_help.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74664@lists.php.net to get a copy of this message | ||
Commit: b80baeb25e2f68675485fef6ef65f371cd44cf40
Author: krakjoe <joe.watkins@live.co.uk> Sun, 24 Nov 2013 07:01:50 +0000
Parents: c1e140d0871911379d7e4faf85e28987468de523
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b80baeb25e2f68675485fef6ef65f371cd44cf40
Log:
add help for break op command
Changed paths:
M phpdbg_help.c
Diff:
diff --git a/phpdbg_help.c b/phpdbg_help.c
index b8dc23c..9f56dbc 100644
--- a/phpdbg_help.c
+++ b/phpdbg_help.c
@@ -243,6 +243,10 @@ PHPDBG_HELP(break) /* {{{ */
phpdbg_writeln("\t%sb on ($expression == true)", PROMPT);
phpdbg_writeln("\tWill break when the condition evaluates to true");
phpdbg_writeln(EMPTY);
+ phpdbg_writeln("\t%sbreak op ZEND_ADD", PROMPT);
+ phpdbg_writeln("\t%sb O ZEND_ADD", PROMPT);
+ phpdbg_writeln("\tWill break on every occurence of the opcode provided");
+ phpdbg_writeln(EMPTY);
phpdbg_writeln("Note: An address is only valid for the current compilation");
phpdbg_writeln(EMPTY);
phpdbg_notice("The parameters enclosed by [] are usually optional, but help avoid ambigious
commands");