com php-src: Merge branch 'master' of https://github.com/krakjoe/phpdbg: phpdbg_bp.c phpdbg_prompt.c
| From: | Bob Weinand | Date: | Sun, 10 Nov 2013 20:30:18 +0000 |
| Subject: | com php-src: Merge branch 'master' of https://github.com/krakjoe/phpdbg: phpdbg_bp.c phpdbg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75175@lists.php.net to get a copy of this message | ||
Commit: dd141fa085fdad1f7fc6f313b08ef2fcb4b7e268
Author: krakjoe <joe.watkins@live.co.uk> Sun, 10 Nov 2013 20:30:18 +0000
Parents: 663a13635ac00b139d4882daeea44214b04cb9ba eaf5d892928f7ca4af42cdd98bfb9f0f9adc06d3
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dd141fa085fdad1f7fc6f313b08ef2fcb4b7e268
Log:
Merge branch 'master' of https://github.com/krakjoe/phpdbg
Changed paths:
MM phpdbg_bp.c
MM phpdbg_prompt.c
Diff:
diff --cc phpdbg_prompt.c
index a5fa359,fc559dd..3f88675
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@@ -531,40 -359,24 +359,25 @@@ zend_vm_enter
}
#endif
- phpdbg_print_opline(execute_data TSRMLS_CC);
-
if (PHPDBG_G(has_file_bp)
- && phpdbg_breakpoint_file(execute_data->op_array TSRMLS_CC) == SUCCESS) {
+ && phpdbg_find_breakpoint_file(execute_data->op_array TSRMLS_CC) == SUCCESS) {
while (phpdbg_interactive(0, NULL TSRMLS_CC) != PHPDBG_NEXT) {
continue;
}
}
- if (PHPDBG_G(has_sym_bp)) {
- zend_execute_data *previous = execute_data->prev_execute_data;
- if (previous && (previous != execute_data)) {
- if (previous->opline) {
- if (previous->opline->opcode == ZEND_DO_FCALL ||
previous->opline->opcode == ZEND_DO_FCALL_BY_NAME) {
- if (phpdbg_breakpoint_symbol(previous->function_state.function
TSRMLS_CC) == SUCCESS) {
- while (phpdbg_interactive(0, NULL TSRMLS_CC) != PHPDBG_NEXT) {
- continue;
- }
- }
- }
- }
- } else {
- if (execute_data->opline->opcode == ZEND_DO_FCALL ||
execute_data->opline->opcode == ZEND_DO_FCALL_BY_NAME) {
- if (phpdbg_breakpoint_symbol(execute_data->function_state.function
TSRMLS_CC) == SUCCESS) {
- while (phpdbg_interactive(0, NULL TSRMLS_CC) != PHPDBG_NEXT) {
- continue;
- }
- }
- }
- }
- }
-
- if (PHPDBG_G(has_sym_bp)
++ if (PHPDBG_G(has_sym_bp)
+ && (execute_data->opline->opcode == ZEND_DO_FCALL ||
execute_data->opline->opcode == ZEND_DO_FCALL_BY_NAME)
+ && phpdbg_find_breakpoint_symbol(execute_data->function_state.function TSRMLS_CC) ==
SUCCESS) {
+ while (phpdbg_interactive(0, NULL TSRMLS_CC) != PHPDBG_NEXT) {
+ continue;
+ }
+ }
-
++
PHPDBG_G(vmret) = execute_data->opline->handler(execute_data TSRMLS_CC);
+
+ phpdbg_print_opline(
+ execute_data TSRMLS_CC);
if (PHPDBG_G(stepping)) {
while (phpdbg_interactive(