mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Fixed TSRM build
This commit is contained in:
parent
bd2305f1d2
commit
30fab784dc
@ -436,13 +436,15 @@ PHPDBG_WATCH(array) /* {{{ */
|
||||
} /* }}} */
|
||||
|
||||
void phpdbg_watch_HashTable_dtor(zval **zv) {
|
||||
TSRMLS_FETCH();
|
||||
|
||||
phpdbg_btree_result *result;
|
||||
if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong)*zv))) {
|
||||
phpdbg_watchpoint_t *watch = result->ptr;
|
||||
|
||||
PHPDBG_G(watchpoint_hit) = 1;
|
||||
|
||||
phpdbg_notice("%.*s was removed, removing watchpoint%s", watch->str_len, watch->str, (watch->flags & PHPDBG_WATCH_RECURSIVE)?" recursively":"");
|
||||
phpdbg_notice("%.*s was removed, removing watchpoint%s", (int)watch->str_len, watch->str, (watch->flags & PHPDBG_WATCH_RECURSIVE)?" recursively":"");
|
||||
|
||||
if (watch->flags & PHPDBG_WATCH_RECURSIVE) {
|
||||
phpdbg_delete_watchpoint_recursive(watch TSRMLS_CC);
|
||||
|
@ -98,7 +98,7 @@ void phpdbg_list_watchpoints(TSRMLS_D);
|
||||
void phpdbg_watch_efree(void *ptr);
|
||||
|
||||
|
||||
long phpdbg_pagesize;
|
||||
static long phpdbg_pagesize;
|
||||
|
||||
static zend_always_inline void *phpdbg_get_page_boundary(void *addr) {
|
||||
return (void *)((size_t)addr & ~(phpdbg_pagesize - 1));
|
||||
|
Loading…
Reference in New Issue
Block a user