diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-11-25 19:39:17 -0200 |
---|---|---|
committer | Felipe Pena <felipensp@gmail.com> | 2013-11-25 19:39:17 -0200 |
commit | d50e2546c73380cb811cbdc44472bcc5bf94acd0 (patch) | |
tree | 1205206f9240841d7afdaea7e9750cfe13a85628 /phpdbg.h | |
parent | 2be5a1e3da05caee88bc92f2abec223cc999c1f0 (diff) | |
download | php-git-d50e2546c73380cb811cbdc44472bcc5bf94acd0.tar.gz |
- Added command "set breakpoint <on|off>"
Diffstat (limited to 'phpdbg.h')
-rw-r--r-- | phpdbg.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -112,11 +112,12 @@ #define PHPDBG_IS_INITIALIZING (1<<19) #define PHPDBG_IS_SIGNALED (1<<20) #define PHPDBG_IS_INTERACTIVE (1<<21) +#define PHPDBG_IS_BP_ENABLED (1<<22) #ifndef _WIN32 -# define PHPDBG_DEFAULT_FLAGS (PHPDBG_IS_QUIET|PHPDBG_IS_COLOURED) +# define PHPDBG_DEFAULT_FLAGS (PHPDBG_IS_QUIET|PHPDBG_IS_COLOURED|PHPDBG_IS_BP_ENABLED) #else -# define PHPDBG_DEFAULT_FLAGS (PHPDBG_IS_QUIET) +# define PHPDBG_DEFAULT_FLAGS (PHPDBG_IS_QUIET|PHPDBG_IS_BP_ENABLED) #endif /* }}} */ /* {{{ strings */ @@ -137,7 +138,7 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg) HashTable registered; /* registered */ HashTable seek; /* seek oplines */ phpdbg_frame_t frame; /* frame */ - + char *exec; /* file to execute */ size_t exec_len; /* size of exec */ zend_op_array *ops; /* op_array */ @@ -151,10 +152,10 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg) char *prompt[2]; /* prompt */ const phpdbg_color_t *colors[PHPDBG_COLORS]; /* colors */ - + phpdbg_command_t *lcmd; /* last command */ phpdbg_param_t lparam; /* last param */ - + zend_ulong flags; /* phpdbg flags */ ZEND_END_MODULE_GLOBALS(phpdbg) /* }}} */ |