summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-10-31 17:35:19 +0800
committerXinchen Hui <laruence@php.net>2014-10-31 17:36:33 +0800
commitd017c4bf3ae8c49340b56f9ab1d31d2793f65489 (patch)
tree5662abd5c1854fd86783082073860dcfc06c47b2 /sapi/phpdbg/phpdbg_prompt.c
parentd9d181e5ad41128a97a6e01d14fb766ff7bf31a8 (diff)
parent113f1fd6d5eb286c50f6cca003d18f847bc202cb (diff)
downloadphp-git-d017c4bf3ae8c49340b56f9ab1d31d2793f65489.tar.gz
Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index 915bccfa69..f030654f3b 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -82,7 +82,9 @@ const phpdbg_command_t phpdbg_prompt_commands[] = {
PHPDBG_COMMAND_D(export, "export breaks to a .phpdbginit script", '>', NULL, "s", PHPDBG_ASYNC_SAFE),
PHPDBG_COMMAND_D(sh, "shell a command", 0 , NULL, "i", 0),
PHPDBG_COMMAND_D(quit, "exit phpdbg", 'q', NULL, 0, PHPDBG_ASYNC_SAFE),
+#if PHPDBG_IN_DEV
PHPDBG_COMMAND_D(wait, "wait for other process", 'W', NULL, 0, 0),
+#endif
PHPDBG_COMMAND_D(watch, "set watchpoint", 'w', phpdbg_watch_commands, "|ss", 0),
PHPDBG_COMMAND_D(eol, "set EOL", 'E', NULL, "|s", 0),
PHPDBG_END_COMMAND