com php-src: - Rename command to "set break": phpdbg_set.c phpdbg_set.h
| From: | Bob Weinand | Date: | Mon, 25 Nov 2013 21:46:06 +0000 |
| Subject: | com php-src: - Rename command to "set break": phpdbg_set.c phpdbg_set.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74595@lists.php.net to get a copy of this message | ||
Commit: bd87039a91990d989f4ee7bff5a5762e8f868e86
Author: Felipe Pena <felipensp@gmail.com> Mon, 25 Nov 2013 19:46:06 -0200
Parents: d50e2546c73380cb811cbdc44472bcc5bf94acd0
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bd87039a91990d989f4ee7bff5a5762e8f868e86
Log:
- Rename command to "set break"
Changed paths:
M phpdbg_set.c
M phpdbg_set.h
Diff:
diff --git a/phpdbg_set.c b/phpdbg_set.c
index 7c73192..f326560 100644
--- a/phpdbg_set.c
+++ b/phpdbg_set.c
@@ -41,7 +41,7 @@ PHPDBG_SET(prompt) /* {{{ */
return SUCCESS;
} /* }}} */
-PHPDBG_SET(breakpoint) /* {{{ */
+PHPDBG_SET(break) /* {{{ */
{
switch (param->type) {
case EMPTY_PARAM:
diff --git a/phpdbg_set.h b/phpdbg_set.h
index 37ed397..c3afc06 100644
--- a/phpdbg_set.h
+++ b/phpdbg_set.h
@@ -27,13 +27,13 @@
PHPDBG_SET(prompt);
PHPDBG_SET(color);
PHPDBG_SET(oplog);
-PHPDBG_SET(breakpoint);
+PHPDBG_SET(break);
static const phpdbg_command_t phpdbg_set_commands[] = {
PHPDBG_COMMAND_D_EX(prompt, "usage: set prompt <string>",
'p', set_prompt, NULL, 0),
PHPDBG_COMMAND_D_EX(color, "usage: set color <element> <color>",
'c', set_color, NULL, 1),
PHPDBG_COMMAND_D_EX(oplog, "usage: set oplog <output>",
'O', set_oplog, NULL, 0),
- PHPDBG_COMMAND_D_EX(breakpoint, "usage: set breakpoint <on|off>",
'b', set_breakpoint, NULL, 0),
+ PHPDBG_COMMAND_D_EX(break, "usage: set break <on|off>",
'b', set_break, NULL, 0),
PHPDBG_END_COMMAND
};