diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-11-24 12:54:14 -0200 |
---|---|---|
committer | Felipe Pena <felipensp@gmail.com> | 2013-11-24 12:54:14 -0200 |
commit | 795e12b85e436badf24fae5377d359337f35d459 (patch) | |
tree | f2a52a4381e90de5b6650577b637a65886585bf9 /phpdbg_prompt.c | |
parent | 97f733e60d103ce2ebac7a11c26dbd707cd469e5 (diff) | |
download | php-git-795e12b85e436badf24fae5377d359337f35d459.tar.gz |
- Added "set prompt" command
Diffstat (limited to 'phpdbg_prompt.c')
-rw-r--r-- | phpdbg_prompt.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 104d3ded0a..da16df7cfc 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -33,6 +33,7 @@ #include "phpdbg_utils.h" #include "phpdbg_prompt.h" #include "phpdbg_cmd.h" +#include "phpdbg_set.h" /* {{{ command declarations */ const phpdbg_command_t phpdbg_prompt_commands[] = { @@ -45,6 +46,7 @@ const phpdbg_command_t phpdbg_prompt_commands[] = { PHPDBG_COMMAND_D(until, "continue past the current line", 'u', NULL, 0), PHPDBG_COMMAND_D(finish, "continue past the end of the stack", 'F', NULL, 0), PHPDBG_COMMAND_D(leave, "continue until the end of the stack", 'L', NULL, 0), + PHPDBG_COMMAND_D(set, "set debug properties", 'S', phpdbg_set_commands, 1), PHPDBG_COMMAND_D(print, "print something", 'p', phpdbg_print_commands, 2), PHPDBG_COMMAND_D(break, "set breakpoint", 'b', phpdbg_break_commands, 1), PHPDBG_COMMAND_D(back, "show trace", 't', NULL, 0), @@ -756,6 +758,14 @@ PHPDBG_COMMAND(info) /* {{{ */ return SUCCESS; } /* }}} */ +PHPDBG_COMMAND(set) /* {{{ */ +{ + phpdbg_error( + "No information command selected !"); + + return SUCCESS; +} /* }}} */ + PHPDBG_COMMAND(break) /* {{{ */ { switch (param->type) { |