com php-src: Added mapping...: phpdbg_bp.c
| From: | Bob Weinand | Date: | Sat, 07 Dec 2013 19:28:23 +0000 |
| Subject: | com php-src: Added mapping...: phpdbg_bp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75283@lists.php.net to get a copy of this message | ||
Commit: 9cd93565230dcefc33aadc7eba5a16b23fcfca62
Author: Bob Weinand <bobwei9@hotmail.com> Sat, 7 Dec 2013 20:28:23 +0100
Parents: 4715988c7060d0b5f67039ffe01a8491a2c35a38
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9cd93565230dcefc33aadc7eba5a16b23fcfca62
Log:
Added mapping...
Changed paths:
M phpdbg_bp.c
Diff:
diff --git a/phpdbg_bp.c b/phpdbg_bp.c
index 83dde7a..fe0f8d4 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);