com php-src: Merge branch 'master' of github.com:krakjoe/phpdbg: phpdbg_list.c phpdbg_prompt.c
| From: | Bob Weinand | Date: | Wed, 20 Nov 2013 18:52:42 +0000 |
| Subject: | com php-src: Merge branch 'master' of github.com:krakjoe/phpdbg: phpdbg_list.c phpdbg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74742@lists.php.net to get a copy of this message | ||
Commit: 9ba9abfa2aec0b679758879ab15eee801317dd44
Author: Felipe Pena <felipensp@gmail.com> Wed, 20 Nov 2013 16:52:42 -0200
Parents: ed16d3b60845f8c60b48ffd67cfd9f9f7ba0fdc0 a0c824955c4be72600fa90246c09e753511d4d13
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9ba9abfa2aec0b679758879ab15eee801317dd44
Log:
Merge branch 'master' of github.com:krakjoe/phpdbg
Changed paths:
MM phpdbg_list.c
MM phpdbg_prompt.c
Diff:
diff --cc phpdbg_prompt.c
index 37cdfe9,a800e46..aaba797
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@@ -485,10 -485,10 +485,10 @@@ out
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;
}
@@@ -1210,9 -1210,10 +1210,10 @@@ zend_vm_enter
} 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;
}