From 9cd93565230dcefc33aadc7eba5a16b23fcfca62 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Sat, 7 Dec 2013 20:28:23 +0100 Subject: [PATCH] Added mapping... --- phpdbg_bp.c | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.50.1