PHPDBG_COMMAND(eval) /* {{{ */
{
- zend_bool stepping = (PHPDBG_G(flags) & PHPDBG_IS_STEPPING);
+ zend_bool stepping = ((PHPDBG_G(flags) & PHPDBG_IS_STEPPING)==PHPDBG_IS_STEPPING);
zval retval;
char *code = NULL;
-
+
if (!(PHPDBG_G(flags) & PHPDBG_IS_STEPONEVAL)) {
PHPDBG_G(flags) &= ~ PHPDBG_IS_STEPPING;
}
} while(!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING));\
} while(0)
- /* allow conditional breakpoints and
+ /* allow conditional breakpoints and
initialization to access the vm uninterrupted */
- if (PHPDBG_G(flags) & PHPDBG_IN_COND_BP|PHPDBG_IS_INITIALIZING) {
+ if ((PHPDBG_G(flags) & PHPDBG_IN_COND_BP) ||
+ (PHPDBG_G(flags) & PHPDBG_IS_INITIALIZING)) {
/* skip possible breakpoints */
goto next;
}