mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- Move PHPDBG_NEXT to prompt header
This commit is contained in:
parent
816925c7da
commit
e1931c14a5
2 changed files with 4 additions and 4 deletions
2
phpdbg.h
2
phpdbg.h
|
@ -42,8 +42,6 @@
|
|||
# define PHPDBG_G(v) (phpdbg_globals.v)
|
||||
#endif
|
||||
|
||||
#define PHPDBG_NEXT 2
|
||||
|
||||
ZEND_BEGIN_MODULE_GLOBALS(phpdbg)
|
||||
HashTable bp_files;
|
||||
HashTable bp_symbols;
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
#define PHPDBG_STRL(s) s, sizeof(s)-1
|
||||
|
||||
#define PHPDBG_NEXT 2
|
||||
|
||||
/**
|
||||
* Command handler
|
||||
*/
|
||||
|
@ -52,9 +54,9 @@ int phpdbg_do_cmd(const phpdbg_command_t *command, char *cmd_line, size_t cmd_le
|
|||
* Command Declarators
|
||||
*/
|
||||
#define PHPDBG_COMMAND_D(name, tip) \
|
||||
{PHPDBG_STRL(#name), tip, sizeof(tip)-1, phpdbg_do_##name}
|
||||
{PHPDBG_STRL(#name), tip, sizeof(tip)-1, phpdbg_do_##name}
|
||||
#define PHPDBG_COMMAND(name) \
|
||||
int phpdbg_do_##name(const char *expr, size_t expr_len TSRMLS_DC)
|
||||
int phpdbg_do_##name(const char *expr, size_t expr_len TSRMLS_DC)
|
||||
|
||||
int phpdbg_interactive(int argc, char **argv TSRMLS_DC);
|
||||
void phpdbg_execute_ex(zend_execute_data *execute_data TSRMLS_DC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue