]> granicus.if.org Git - php/commitdiff
Added mapping...
authorBob Weinand <bobwei9@hotmail.com>
Sat, 7 Dec 2013 19:28:23 +0000 (20:28 +0100)
committerBob Weinand <bobwei9@hotmail.com>
Sat, 7 Dec 2013 19:28:23 +0000 (20:28 +0100)
phpdbg_bp.c

index 83dde7acc9b830707bda8dac5646ca7cec47f05f..fe0f8d4e4f4d9e5e9a5211d3880db244b3642807 100644 (file)
@@ -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);