From: Bob Weinand Date: Sat, 7 Dec 2013 19:28:23 +0000 (+0100) Subject: Added mapping... X-Git-Tag: php-5.6.0alpha1~110^2~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cd93565230dcefc33aadc7eba5a16b23fcfca62;p=php Added mapping... --- diff --git a/phpdbg_bp.c b/phpdbg_bp.c index 83dde7acc9..fe0f8d4e4f 100644 --- a/phpdbg_bp.c +++ b/phpdbg_bp.c @@ -544,6 +544,8 @@ PHPDBG_API void phpdbg_set_breakpoint_method_opline(const char *class, const cha PHPDBG_G(flags) |= PHPDBG_HAS_METHOD_OPLINE_BP; + PHPDBG_BREAK_MAPPING(new_break.id, method_table); + zend_hash_index_update(method_table, opline, &new_break, sizeof(phpdbg_breakopline_t), NULL); } @@ -589,6 +591,8 @@ PHPDBG_API void phpdbg_set_breakpoint_function_opline(const char *function, zend return; } + PHPDBG_BREAK_MAPPING(new_break.id, func_table); + PHPDBG_G(flags) |= PHPDBG_HAS_FUNCTION_OPLINE_BP; zend_hash_index_update(func_table, opline, &new_break, sizeof(phpdbg_breakopline_t), NULL); @@ -636,6 +640,8 @@ PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong o return; } + PHPDBG_BREAK_MAPPING(new_break.id, file_table); + PHPDBG_G(flags) |= PHPDBG_HAS_FILE_OPLINE_BP; zend_hash_index_update(file_table, opline, &new_break, sizeof(phpdbg_breakopline_t), NULL);