summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_bp.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-08-23 12:07:14 +0100
committerBob Weinand <bobwei9@hotmail.com>2015-08-23 12:07:14 +0100
commit272cccd1759a358eb9a66e3fb10bcad373acb06e (patch)
treefc0b727754e2ab7cd5b181e488667e3e4b31421f /sapi/phpdbg/phpdbg_bp.c
parent2b9c7f881a30767b0aeed94e88cc978544e78094 (diff)
downloadphp-git-272cccd1759a358eb9a66e3fb10bcad373acb06e.tar.gz
Fix phpdbg_break_next()
Diffstat (limited to 'sapi/phpdbg/phpdbg_bp.c')
-rw-r--r--sapi/phpdbg/phpdbg_bp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_bp.c b/sapi/phpdbg/phpdbg_bp.c
index 6df123615a..3122a9f609 100644
--- a/sapi/phpdbg/phpdbg_bp.c
+++ b/sapi/phpdbg/phpdbg_bp.c
@@ -687,6 +687,7 @@ PHPDBG_API void phpdbg_set_breakpoint_opline_ex(phpdbg_opline_ptr_t opline TSRML
PHPDBG_BREAK_INIT(new_break, PHPDBG_BREAK_OPLINE);
new_break.opline = (zend_ulong) opline;
+ new_break.base = NULL;
zend_hash_index_update(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE],
(zend_ulong) opline, &new_break, sizeof(phpdbg_breakline_t), NULL);