Fix phpdbg_break_next()

This commit is contained in:
Bob Weinand 2015-08-23 12:07:14 +01:00
parent 2b9c7f881a
commit 272cccd175
2 changed files with 4 additions and 0 deletions

3
NEWS
View file

@ -32,6 +32,9 @@ PHP NEWS
. Fixed bug #70232 (Incorrect bump-along behavior with \K and empty string
match). (cmb)
- Phpdbg:
. Fix phpdbg_break_next() sometimes not breaking. (Bob)
- SPL:
. Fixed bug #70290 (Null pointer deref (segfault) in spl_autoload via
ob_start). (hugh at allthethings dot co dot nz)

View file

@ -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);