PHPDBG_G 151 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], 8, NULL, php_phpdbg_destroy_bp_file, 0); PHPDBG_G 152 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], 8, NULL, php_phpdbg_destroy_bp_symbol, 0); PHPDBG_G 153 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], 8, NULL, php_phpdbg_destroy_bp_methods, 0); PHPDBG_G 154 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], 8, NULL, php_phpdbg_destroy_bp_methods, 0); PHPDBG_G 155 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], 8, NULL, php_phpdbg_destroy_bp_methods, 0); PHPDBG_G 156 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], 8, NULL, NULL, 0); PHPDBG_G 157 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], 8, NULL, php_phpdbg_destroy_bp_opcode, 0); PHPDBG_G 158 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], 8, NULL, php_phpdbg_destroy_bp_methods, 0); PHPDBG_G 159 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], 8, NULL, php_phpdbg_destroy_bp_condition, 0); PHPDBG_G 160 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], 8, NULL, NULL, 0); PHPDBG_G 162 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(seek), 8, NULL, NULL, 0); PHPDBG_G 163 sapi/phpdbg/phpdbg.c zend_hash_init(&PHPDBG_G(registered), 8, NULL, php_phpdbg_destroy_registered, 0); PHPDBG_G 170 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE]); PHPDBG_G 171 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM]); PHPDBG_G 172 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE]); PHPDBG_G 173 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE]); PHPDBG_G 174 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE]); PHPDBG_G 175 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]); PHPDBG_G 176 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE]); PHPDBG_G 177 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD]); PHPDBG_G 178 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_COND]); PHPDBG_G 179 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP]); PHPDBG_G 180 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(seek)); PHPDBG_G 181 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(registered)); PHPDBG_G 182 sapi/phpdbg/phpdbg.c zend_hash_destroy(&PHPDBG_G(watchpoints)); PHPDBG_G 183 sapi/phpdbg/phpdbg.c zend_llist_destroy(&PHPDBG_G(watchlist_mem)); PHPDBG_G 185 sapi/phpdbg/phpdbg.c if (PHPDBG_G(buffer)) { PHPDBG_G 186 sapi/phpdbg/phpdbg.c efree(PHPDBG_G(buffer)); PHPDBG_G 187 sapi/phpdbg/phpdbg.c PHPDBG_G(buffer) = NULL; PHPDBG_G 190 sapi/phpdbg/phpdbg.c if (PHPDBG_G(exec)) { PHPDBG_G 191 sapi/phpdbg/phpdbg.c efree(PHPDBG_G(exec)); PHPDBG_G 192 sapi/phpdbg/phpdbg.c PHPDBG_G(exec) = NULL; PHPDBG_G 195 sapi/phpdbg/phpdbg.c if (PHPDBG_G(prompt)[0]) { PHPDBG_G 196 sapi/phpdbg/phpdbg.c free(PHPDBG_G(prompt)[0]); PHPDBG_G 198 sapi/phpdbg/phpdbg.c if (PHPDBG_G(prompt)[1]) { PHPDBG_G 199 sapi/phpdbg/phpdbg.c free(PHPDBG_G(prompt)[1]); PHPDBG_G 202 sapi/phpdbg/phpdbg.c PHPDBG_G(prompt)[0] = NULL; PHPDBG_G 203 sapi/phpdbg/phpdbg.c PHPDBG_G(prompt)[1] = NULL; PHPDBG_G 205 sapi/phpdbg/phpdbg.c if (PHPDBG_G(oplog)) { PHPDBG_G 207 sapi/phpdbg/phpdbg.c PHPDBG_G(oplog)); PHPDBG_G 208 sapi/phpdbg/phpdbg.c PHPDBG_G(oplog) = NULL; PHPDBG_G 211 sapi/phpdbg/phpdbg.c if (PHPDBG_G(ops)) { PHPDBG_G 212 sapi/phpdbg/phpdbg.c destroy_op_array(PHPDBG_G(ops) TSRMLS_CC); PHPDBG_G 213 sapi/phpdbg/phpdbg.c efree(PHPDBG_G(ops)); PHPDBG_G 214 sapi/phpdbg/phpdbg.c PHPDBG_G(ops) = NULL; PHPDBG_G 240 sapi/phpdbg/phpdbg.c if (PHPDBG_G(exec)) { PHPDBG_G 241 sapi/phpdbg/phpdbg.c ZVAL_STRINGL(return_value, PHPDBG_G(exec), PHPDBG_G(exec_len), 1); PHPDBG_G 242 sapi/phpdbg/phpdbg.c efree(PHPDBG_G(exec)); PHPDBG_G 246 sapi/phpdbg/phpdbg.c PHPDBG_G(exec) = estrndup(exec, exec_len); PHPDBG_G 247 sapi/phpdbg/phpdbg.c PHPDBG_G(exec_len) = exec_len; PHPDBG_G 326 sapi/phpdbg/phpdbg.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE]); PHPDBG_G 327 sapi/phpdbg/phpdbg.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM]); PHPDBG_G 328 sapi/phpdbg/phpdbg.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE]); PHPDBG_G 329 sapi/phpdbg/phpdbg.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE]); PHPDBG_G 330 sapi/phpdbg/phpdbg.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE]); PHPDBG_G 331 sapi/phpdbg/phpdbg.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]); PHPDBG_G 332 sapi/phpdbg/phpdbg.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD]); PHPDBG_G 333 sapi/phpdbg/phpdbg.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_COND]); PHPDBG_G 483 sapi/phpdbg/phpdbg.c if (!(PHPDBG_G(flags) & PHPDBG_IN_EVAL)) { PHPDBG_G 501 sapi/phpdbg/phpdbg.c } while (!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)); PHPDBG_G 528 sapi/phpdbg/phpdbg.c if (PHPDBG_G(exec)) { PHPDBG_G 529 sapi/phpdbg/phpdbg.c len = PHPDBG_G(exec_len); PHPDBG_G 531 sapi/phpdbg/phpdbg.c &PHPDBG_G(exec), PHPDBG_G(exec_len), &len TSRMLS_CC)) { PHPDBG_G 532 sapi/phpdbg/phpdbg.c php_register_variable("PHP_SELF", PHPDBG_G(exec), PHPDBG_G 536 sapi/phpdbg/phpdbg.c &PHPDBG_G(exec), PHPDBG_G(exec_len), &len TSRMLS_CC)) { PHPDBG_G 537 sapi/phpdbg/phpdbg.c php_register_variable("SCRIPT_NAME", PHPDBG_G(exec), PHPDBG_G 542 sapi/phpdbg/phpdbg.c &PHPDBG_G(exec), PHPDBG_G(exec_len), &len TSRMLS_CC)) { PHPDBG_G 543 sapi/phpdbg/phpdbg.c php_register_variable("SCRIPT_FILENAME", PHPDBG_G(exec), PHPDBG_G 547 sapi/phpdbg/phpdbg.c &PHPDBG_G(exec), PHPDBG_G(exec_len), &len TSRMLS_CC)) { PHPDBG_G 548 sapi/phpdbg/phpdbg.c php_register_variable("PATH_TRANSLATED", PHPDBG_G(exec), PHPDBG_G 576 sapi/phpdbg/phpdbg.c fflush(PHPDBG_G(io)[PHPDBG_STDOUT]); PHPDBG_G 748 sapi/phpdbg/phpdbg.c if (!(PHPDBG_G(flags) & PHPDBG_IS_INTERACTIVE)) { PHPDBG_G 749 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) |= PHPDBG_IS_SIGNALED; PHPDBG_G 753 sapi/phpdbg/phpdbg.c if (PHPDBG_G(flags) & PHPDBG_IS_REMOTE) { PHPDBG_G 754 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) |= PHPDBG_IS_QUITTING; PHPDBG_G 916 sapi/phpdbg/phpdbg.c zend_sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL TSRMLS_CC); PHPDBG_G 918 sapi/phpdbg/phpdbg.c sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL); PHPDBG_G 1307 sapi/phpdbg/phpdbg.c PHPDBG_G(original_free_function) = mm_heap->_free; PHPDBG_G 1319 sapi/phpdbg/phpdbg.c zend_try { zend_sigaction(SIGSEGV, &signal_struct, &PHPDBG_G(old_sigsegv_signal) TSRMLS_CC); } zend_end_try(); PHPDBG_G 1320 sapi/phpdbg/phpdbg.c zend_try { zend_sigaction(SIGBUS, &signal_struct, &PHPDBG_G(old_sigsegv_signal) TSRMLS_CC); } zend_end_try(); PHPDBG_G 1322 sapi/phpdbg/phpdbg.c sigaction(SIGSEGV, &signal_struct, &PHPDBG_G(old_sigsegv_signal)); PHPDBG_G 1323 sapi/phpdbg/phpdbg.c sigaction(SIGBUS, &signal_struct, &PHPDBG_G(old_sigsegv_signal)); PHPDBG_G 1360 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) = flags; PHPDBG_G 1365 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) |= PHPDBG_IS_REMOTE; PHPDBG_G 1371 sapi/phpdbg/phpdbg.c PHPDBG_G(io)[PHPDBG_STDIN] = stdin; PHPDBG_G 1372 sapi/phpdbg/phpdbg.c PHPDBG_G(io)[PHPDBG_STDOUT] = stdout; PHPDBG_G 1373 sapi/phpdbg/phpdbg.c PHPDBG_G(io)[PHPDBG_STDERR] = stderr; PHPDBG_G 1376 sapi/phpdbg/phpdbg.c PHPDBG_G(exec) = phpdbg_resolve_path(exec TSRMLS_CC); PHPDBG_G 1377 sapi/phpdbg/phpdbg.c PHPDBG_G(exec_len) = strlen(PHPDBG_G(exec)); PHPDBG_G 1383 sapi/phpdbg/phpdbg.c PHPDBG_G(oplog) = fopen(oplog_file, "w+"); PHPDBG_G 1384 sapi/phpdbg/phpdbg.c if (!PHPDBG_G(oplog)) { PHPDBG_G 1408 sapi/phpdbg/phpdbg.c if (PHPDBG_G(exec)) { PHPDBG_G 1413 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) |= PHPDBG_IS_INITIALIZING; PHPDBG_G 1418 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) &= ~PHPDBG_IS_INITIALIZING; PHPDBG_G 1421 sapi/phpdbg/phpdbg.c if (PHPDBG_G(flags) & PHPDBG_IS_QUITTING) { PHPDBG_G 1427 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) |= PHPDBG_IS_STEPPING; PHPDBG_G 1448 sapi/phpdbg/phpdbg.c if ((PHPDBG_G(flags) & PHPDBG_IS_CLEANING)) { PHPDBG_G 1460 sapi/phpdbg/phpdbg.c if ((PHPDBG_G(flags) & PHPDBG_IS_DISCONNECTED)) { PHPDBG_G 1462 sapi/phpdbg/phpdbg.c if (PHPDBG_G(flags) & PHPDBG_IS_REMOTE) { PHPDBG_G 1469 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) &= ~PHPDBG_IS_QUITTING; PHPDBG_G 1476 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) &= ~PHPDBG_IS_DISCONNECTED; PHPDBG_G 1482 sapi/phpdbg/phpdbg.c } while(!cleaning && !(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)); PHPDBG_G 1492 sapi/phpdbg/phpdbg.c if ((PHPDBG_G(flags) & PHPDBG_IS_DISCONNECTED)) { PHPDBG_G 1493 sapi/phpdbg/phpdbg.c PHPDBG_G(flags) &= ~PHPDBG_IS_DISCONNECTED; PHPDBG_G 47 sapi/phpdbg/phpdbg_bp.c &PHPDBG_G(bp)[PHPDBG_BREAK_MAP], (id), (void**) &table, sizeof(void*), NULL); PHPDBG_G 52 sapi/phpdbg/phpdbg_bp.c zend_hash_index_del(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], (id)) PHPDBG_G 55 sapi/phpdbg/phpdbg_bp.c b.id = PHPDBG_G(bp_count)++; \ PHPDBG_G 95 sapi/phpdbg/phpdbg_bp.c if (zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP])) { PHPDBG_G 99 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], &position[0]); PHPDBG_G 100 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], (void**)&table, &position[0]) == SUCCESS; PHPDBG_G 101 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], &position[0])) { PHPDBG_G 119 sapi/phpdbg/phpdbg_bp.c if (zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP])) { PHPDBG_G 122 sapi/phpdbg/phpdbg_bp.c zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP])); PHPDBG_G 124 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], &position[0]); PHPDBG_G 125 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], (void**)&table, &position[0]) == SUCCESS; PHPDBG_G 126 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], &position[0])) { PHPDBG_G 129 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_key_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], NULL, NULL, &id, 0, &position[0]); PHPDBG_G 238 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], PHPDBG_G 244 sapi/phpdbg/phpdbg_bp.c zend_hash_update(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], PHPDBG_G 250 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_FILE_BP; PHPDBG_G 277 sapi/phpdbg/phpdbg_bp.c if (!zend_hash_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], name, name_len)) { PHPDBG_G 280 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_SYM_BP; PHPDBG_G 285 sapi/phpdbg/phpdbg_bp.c zend_hash_update(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], new_break.symbol, PHPDBG_G 291 sapi/phpdbg/phpdbg_bp.c PHPDBG_BREAK_MAPPING(new_break.id, &PHPDBG_G(bp)[PHPDBG_BREAK_SYM]); PHPDBG_G 304 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], class_name, PHPDBG_G 308 sapi/phpdbg/phpdbg_bp.c &PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], PHPDBG_G 316 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_METHOD_BP; PHPDBG_G 340 sapi/phpdbg/phpdbg_bp.c if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline)) { PHPDBG_G 343 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_OPLINE_BP; PHPDBG_G 350 sapi/phpdbg/phpdbg_bp.c zend_hash_index_update(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline, PHPDBG_G 355 sapi/phpdbg/phpdbg_bp.c PHPDBG_BREAK_MAPPING(new_break.id, &PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]); PHPDBG_G 390 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_OPLINE_BP; PHPDBG_G 392 sapi/phpdbg/phpdbg_bp.c zend_hash_index_update(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline_break.opline, &opline_break, sizeof(phpdbg_breakline_t), NULL); PHPDBG_G 399 sapi/phpdbg/phpdbg_bp.c HashTable *func_table = &PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE]; PHPDBG_G 405 sapi/phpdbg/phpdbg_bp.c zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], op_array->scope->name, op_array->scope->name_length, (void **)&func_table) == FAILURE) { PHPDBG_G 410 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], op_array->filename, strlen(op_array->filename), (void **)&oplines_table) == FAILURE) { PHPDBG_G 423 sapi/phpdbg/phpdbg_bp.c zend_hash_internal_pointer_end(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]); PHPDBG_G 424 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (void **)&opline_break); PHPDBG_G 444 sapi/phpdbg/phpdbg_bp.c if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->class_len)) { PHPDBG_G 445 sapi/phpdbg/phpdbg_bp.c if (phpdbg_resolve_op_array_break(new_break, PHPDBG_G(ops) TSRMLS_CC) == SUCCESS) { PHPDBG_G 526 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], new_break.class_name, new_break.class_len, (void **)&class_table) == FAILURE) { PHPDBG_G 529 sapi/phpdbg/phpdbg_bp.c &PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], PHPDBG_G 548 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(bp_count)--; PHPDBG_G 552 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_METHOD_OPLINE_BP; PHPDBG_G 585 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], new_break.func_name, new_break.func_len, (void **)&func_table) == FAILURE) { PHPDBG_G 588 sapi/phpdbg/phpdbg_bp.c &PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], PHPDBG_G 597 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(bp_count)--; PHPDBG_G 603 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_FUNCTION_OPLINE_BP; PHPDBG_G 634 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], new_break.class_name, new_break.class_len, (void **)&file_table) == FAILURE) { PHPDBG_G 637 sapi/phpdbg/phpdbg_bp.c &PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], PHPDBG_G 646 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(bp_count)--; PHPDBG_G 652 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_FILE_OPLINE_BP; PHPDBG_G 662 sapi/phpdbg/phpdbg_bp.c if (zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], hash)) { PHPDBG_G 672 sapi/phpdbg/phpdbg_bp.c zend_hash_index_update(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], hash, PHPDBG_G 675 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_OPCODE_BP; PHPDBG_G 678 sapi/phpdbg/phpdbg_bp.c PHPDBG_BREAK_MAPPING(new_break.id, &PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE]); PHPDBG_G 683 sapi/phpdbg/phpdbg_bp.c if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline)) { PHPDBG_G 686 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_OPLINE_BP; PHPDBG_G 691 sapi/phpdbg/phpdbg_bp.c zend_hash_index_update(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], PHPDBG_G 696 sapi/phpdbg/phpdbg_bp.c PHPDBG_BREAK_MAPPING(new_break.id, &PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]); PHPDBG_G 739 sapi/phpdbg/phpdbg_bp.c &PHPDBG_G(bp)[PHPDBG_BREAK_COND], hash, &new_break, PHPDBG_G 745 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_HAS_COND_BP; PHPDBG_G 746 sapi/phpdbg/phpdbg_bp.c PHPDBG_BREAK_MAPPING(new_break.id, &PHPDBG_G(bp)[PHPDBG_BREAK_COND]); PHPDBG_G 751 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(bp_count)--; PHPDBG_G 761 sapi/phpdbg/phpdbg_bp.c if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], expr_hash)) { PHPDBG_G 779 sapi/phpdbg/phpdbg_bp.c if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], hash)) { PHPDBG_G 797 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], op_array->filename, PHPDBG_G 832 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], fname, strlen(fname), (void**)&brake) == SUCCESS) { PHPDBG_G 844 sapi/phpdbg/phpdbg_bp.c if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], ops->scope->name, PHPDBG_G 867 sapi/phpdbg/phpdbg_bp.c if (zend_hash_index_find(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], PHPDBG_G 884 sapi/phpdbg/phpdbg_bp.c if (zend_hash_index_find(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], PHPDBG_G 969 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], &position); PHPDBG_G 970 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], (void*)&bp, &position) == SUCCESS; PHPDBG_G 971 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], &position)) { PHPDBG_G 1001 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_IN_COND_BP; PHPDBG_G 1017 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) &= ~PHPDBG_IN_COND_BP; PHPDBG_G 1026 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) &= ~PHPDBG_IN_COND_BP; PHPDBG_G 1040 sapi/phpdbg/phpdbg_bp.c if (!(PHPDBG_G(flags) & PHPDBG_IS_BP_ENABLED)) { PHPDBG_G 1045 sapi/phpdbg/phpdbg_bp.c if (!(PHPDBG_G(flags) & PHPDBG_IN_EVAL) && PHPDBG_G 1046 sapi/phpdbg/phpdbg_bp.c (PHPDBG_G(flags) & PHPDBG_HAS_COND_BP) && PHPDBG_G 1051 sapi/phpdbg/phpdbg_bp.c if ((PHPDBG_G(flags) & PHPDBG_HAS_FILE_BP) && PHPDBG_G 1056 sapi/phpdbg/phpdbg_bp.c if (PHPDBG_G(flags) & (PHPDBG_HAS_METHOD_BP|PHPDBG_HAS_SYM_BP)) { PHPDBG_G 1066 sapi/phpdbg/phpdbg_bp.c if ((PHPDBG_G(flags) & PHPDBG_HAS_OPLINE_BP) && PHPDBG_G 1071 sapi/phpdbg/phpdbg_bp.c if ((PHPDBG_G(flags) & PHPDBG_HAS_OPCODE_BP) && PHPDBG_G 1107 sapi/phpdbg/phpdbg_bp.c if (zend_hash_num_elements(&PHPDBG_G(bp)[type]) == 1) { PHPDBG_G 1108 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) &= ~(1<<(brake->type+1)); PHPDBG_G 1115 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) &= ~(1<<(brake->type+1)); PHPDBG_G 1124 sapi/phpdbg/phpdbg_bp.c if (zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]) == 1) { PHPDBG_G 1125 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) &= PHPDBG_HAS_OPLINE_BP; PHPDBG_G 1127 sapi/phpdbg/phpdbg_bp.c zend_hash_index_del(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], ((phpdbg_breakopline_t*)brake)->opline); PHPDBG_G 1145 sapi/phpdbg/phpdbg_bp.c zend_hash_del(&PHPDBG_G(bp)[type], name, name_len); PHPDBG_G 1160 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE]); PHPDBG_G 1161 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM]); PHPDBG_G 1162 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]); PHPDBG_G 1163 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE]); PHPDBG_G 1164 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE]); PHPDBG_G 1165 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE]); PHPDBG_G 1166 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE]); PHPDBG_G 1167 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD]); PHPDBG_G 1168 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_COND]); PHPDBG_G 1169 sapi/phpdbg/phpdbg_bp.c zend_hash_clean(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP]); PHPDBG_G 1171 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) &= ~PHPDBG_BP_MASK; PHPDBG_G 1173 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(bp_count) = 0; PHPDBG_G 1319 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) |= PHPDBG_IS_BP_ENABLED; PHPDBG_G 1323 sapi/phpdbg/phpdbg_bp.c PHPDBG_G(flags) &= ~PHPDBG_IS_BP_ENABLED; PHPDBG_G 1336 sapi/phpdbg/phpdbg_bp.c if (zend_hash_index_find(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], id, (void**)table) == SUCCESS) { PHPDBG_G 1354 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_SYM: if ((PHPDBG_G(flags) & PHPDBG_HAS_SYM_BP)) { PHPDBG_G 1360 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], &position); PHPDBG_G 1361 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], (void**) &brake, &position) == SUCCESS; PHPDBG_G 1362 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], &position)) { PHPDBG_G 1369 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_METHOD: if ((PHPDBG_G(flags) & PHPDBG_HAS_METHOD_BP)) { PHPDBG_G 1378 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], &position[0]); PHPDBG_G 1379 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], (void**) &class_table, &position[0]) == SUCCESS; PHPDBG_G 1380 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], &position[0])) { PHPDBG_G 1382 sapi/phpdbg/phpdbg_bp.c if (zend_hash_get_current_key_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], PHPDBG_G 1398 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_FILE: if ((PHPDBG_G(flags) & PHPDBG_HAS_FILE_BP)) { PHPDBG_G 1404 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], &position[0]); PHPDBG_G 1405 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], (void**) &points, &position[0]) == SUCCESS; PHPDBG_G 1406 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], &position[0])) { PHPDBG_G 1420 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_OPLINE: if ((PHPDBG_G(flags) & PHPDBG_HAS_OPLINE_BP)) { PHPDBG_G 1426 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], &position); PHPDBG_G 1427 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (void**) &brake, &position) == SUCCESS; PHPDBG_G 1428 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], &position)) { PHPDBG_G 1448 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_METHOD_OPLINE: if ((PHPDBG_G(flags) & PHPDBG_HAS_METHOD_OPLINE_BP)) { PHPDBG_G 1457 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], &position[0]); PHPDBG_G 1458 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], (void**) &class_table, &position[0]) == SUCCESS; PHPDBG_G 1459 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], &position[0])) { PHPDBG_G 1461 sapi/phpdbg/phpdbg_bp.c if (zend_hash_get_current_key_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], PHPDBG_G 1487 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_FUNCTION_OPLINE: if ((PHPDBG_G(flags) & PHPDBG_HAS_FUNCTION_OPLINE_BP)) { PHPDBG_G 1496 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], &position[0]); PHPDBG_G 1497 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], (void**) &function_table, &position[0]) == SUCCESS; PHPDBG_G 1498 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], &position[0])) { PHPDBG_G 1500 sapi/phpdbg/phpdbg_bp.c if (zend_hash_get_current_key_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], PHPDBG_G 1517 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_FILE_OPLINE: if ((PHPDBG_G(flags) & PHPDBG_HAS_FILE_OPLINE_BP)) { PHPDBG_G 1526 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], &position[0]); PHPDBG_G 1527 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], (void**) &file_table, &position[0]) == SUCCESS; PHPDBG_G 1528 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], &position[0])) { PHPDBG_G 1530 sapi/phpdbg/phpdbg_bp.c if (zend_hash_get_current_key_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], PHPDBG_G 1546 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_COND: if ((PHPDBG_G(flags) & PHPDBG_HAS_COND_BP)) { PHPDBG_G 1552 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], &position); PHPDBG_G 1553 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], (void**) &brake, &position) == SUCCESS; PHPDBG_G 1554 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], &position)) { PHPDBG_G 1622 sapi/phpdbg/phpdbg_bp.c case PHPDBG_BREAK_OPCODE: if (PHPDBG_G(flags) & PHPDBG_HAS_OPCODE_BP) { PHPDBG_G 1628 sapi/phpdbg/phpdbg_bp.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], &position); PHPDBG_G 1629 sapi/phpdbg/phpdbg_bp.c zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], (void**) &brake, &position) == SUCCESS; PHPDBG_G 1630 sapi/phpdbg/phpdbg_bp.c zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], &position)) { PHPDBG_G 727 sapi/phpdbg/phpdbg_cmd.c if (!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) { PHPDBG_G 728 sapi/phpdbg/phpdbg_cmd.c if ((PHPDBG_G(flags) & PHPDBG_IS_REMOTE) && PHPDBG_G 730 sapi/phpdbg/phpdbg_cmd.c fflush(PHPDBG_G(io)[PHPDBG_STDOUT]); PHPDBG_G 736 sapi/phpdbg/phpdbg_cmd.c PHPDBG_G(flags) |= (PHPDBG_IS_QUITTING|PHPDBG_IS_DISCONNECTED); PHPDBG_G 742 sapi/phpdbg/phpdbg_cmd.c if (!(PHPDBG_G(flags) & PHPDBG_IS_REMOTE)) { PHPDBG_G 750 sapi/phpdbg/phpdbg_cmd.c if (!fgets(buf, PHPDBG_MAX_CMD, PHPDBG_G(io)[PHPDBG_STDIN])) { PHPDBG_G 752 sapi/phpdbg/phpdbg_cmd.c if ((PHPDBG_G(flags) & PHPDBG_IS_REMOTE)) { PHPDBG_G 761 sapi/phpdbg/phpdbg_cmd.c if ((PHPDBG_G(flags) & PHPDBG_IS_REMOTE)) { PHPDBG_G 763 sapi/phpdbg/phpdbg_cmd.c if (fgets(buf, PHPDBG_MAX_CMD, PHPDBG_G(io)[PHPDBG_STDIN])) { PHPDBG_G 772 sapi/phpdbg/phpdbg_cmd.c if (!(PHPDBG_G(flags) & PHPDBG_IS_REMOTE)) { PHPDBG_G 782 sapi/phpdbg/phpdbg_cmd.c !(PHPDBG_G(flags) & PHPDBG_IS_REMOTE)) { PHPDBG_G 799 sapi/phpdbg/phpdbg_cmd.c if (PHPDBG_G(buffer)) { PHPDBG_G 800 sapi/phpdbg/phpdbg_cmd.c efree(PHPDBG_G(buffer)); PHPDBG_G 802 sapi/phpdbg/phpdbg_cmd.c PHPDBG_G(buffer) = estrdup(buffer); PHPDBG_G 804 sapi/phpdbg/phpdbg_cmd.c if (PHPDBG_G(buffer)) { PHPDBG_G 805 sapi/phpdbg/phpdbg_cmd.c buffer = estrdup(PHPDBG_G(buffer)); PHPDBG_G 108 sapi/phpdbg/phpdbg_cmd.h #define PHPDBG_FRAME(v) (PHPDBG_G(frame).v) PHPDBG_G 49 sapi/phpdbg/phpdbg_help.c unsigned int prompt_len = strlen(PHPDBG_G(prompt)[0]); PHPDBG_G 51 sapi/phpdbg/phpdbg_help.c const char *bold_on_escape = PHPDBG_G(flags) & PHPDBG_IS_COLOURED ? "\033[1m" : ""; PHPDBG_G 52 sapi/phpdbg/phpdbg_help.c const char *bold_off_escape = PHPDBG_G(flags) & PHPDBG_IS_COLOURED ? "\033[0m" : ""; PHPDBG_G 209 sapi/phpdbg/phpdbg_info.c if ((EG(in_execution) && EG(active_op_array)) || PHPDBG_G(ops)) { PHPDBG_G 210 sapi/phpdbg/phpdbg_info.c zend_op_array *ops = EG(active_op_array) ? EG(active_op_array) : PHPDBG_G(ops); PHPDBG_G 12 sapi/phpdbg/phpdbg_lexer.c #define LEX(v) (PHPDBG_G(lexer).v) PHPDBG_G 32 sapi/phpdbg/phpdbg_lexer.c PHPDBG_G(parser_stack) = stack; PHPDBG_G 50 sapi/phpdbg/phpdbg_list.c if (!PHPDBG_G(exec) && !zend_is_executing(TSRMLS_C)) { PHPDBG_G 147 sapi/phpdbg/phpdbg_opcode.c (!(PHPDBG_G(flags) & PHPDBG_IS_QUIET) || PHPDBG_G 148 sapi/phpdbg/phpdbg_opcode.c (PHPDBG_G(flags) & PHPDBG_IS_STEPPING) || PHPDBG_G 149 sapi/phpdbg/phpdbg_opcode.c (PHPDBG_G(oplog)))) { PHPDBG_G 154 sapi/phpdbg/phpdbg_opcode.c if (ignore_flags || (!(PHPDBG_G(flags) & PHPDBG_IS_QUIET) || (PHPDBG_G(flags) & PHPDBG_IS_STEPPING))) { PHPDBG_G 164 sapi/phpdbg/phpdbg_opcode.c if (!ignore_flags && PHPDBG_G(oplog)) { PHPDBG_G 165 sapi/phpdbg/phpdbg_opcode.c phpdbg_log_ex(PHPDBG_G(oplog), "L%-5u %16p %-30s %s %s", PHPDBG_G 1457 sapi/phpdbg/phpdbg_parser.c { phpdbg_stack_push(PHPDBG_G(parser_stack), &(yyvsp[(1) - (1)])); } PHPDBG_G 1463 sapi/phpdbg/phpdbg_parser.c { phpdbg_stack_push(PHPDBG_G(parser_stack), &(yyvsp[(1) - (1)])); } PHPDBG_G 1469 sapi/phpdbg/phpdbg_parser.c { phpdbg_stack_push(PHPDBG_G(parser_stack), &(yyvsp[(2) - (2)])); } PHPDBG_G 1886 sapi/phpdbg/phpdbg_parser.c const phpdbg_param_t *top = PHPDBG_G(parser_stack); PHPDBG_G 67 sapi/phpdbg/phpdbg_parser.y | full_expression { phpdbg_stack_push(PHPDBG_G(parser_stack), &$1); } PHPDBG_G 72 sapi/phpdbg/phpdbg_parser.y : parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$1); } PHPDBG_G 73 sapi/phpdbg/phpdbg_parser.y | parameters parameter { phpdbg_stack_push(PHPDBG_G(parser_stack), &$2); } PHPDBG_G 166 sapi/phpdbg/phpdbg_parser.y const phpdbg_param_t *top = PHPDBG_G(parser_stack); PHPDBG_G 110 sapi/phpdbg/phpdbg_print.c if (PHPDBG_G(exec)) { PHPDBG_G 111 sapi/phpdbg/phpdbg_print.c if (!PHPDBG_G(ops)) { PHPDBG_G 115 sapi/phpdbg/phpdbg_print.c if (PHPDBG_G(ops)) { PHPDBG_G 116 sapi/phpdbg/phpdbg_print.c phpdbg_notice("Context %s", PHPDBG_G(exec)); PHPDBG_G 118 sapi/phpdbg/phpdbg_print.c phpdbg_print_function_helper((zend_function*) PHPDBG_G(ops) TSRMLS_CC); PHPDBG_G 84 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(registered), name->str, name->len+1)) { PHPDBG_G 94 sapi/phpdbg/phpdbg_prompt.c fci.function_table = &PHPDBG_G(registered); PHPDBG_G 342 sapi/phpdbg/phpdbg_prompt.c if ((res_len != PHPDBG_G(exec_len)) || (memcmp(res, PHPDBG_G(exec), res_len) != SUCCESS)) { PHPDBG_G 344 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(exec)) { PHPDBG_G 345 sapi/phpdbg/phpdbg_prompt.c phpdbg_notice("Unsetting old execution context: %s", PHPDBG_G(exec)); PHPDBG_G 346 sapi/phpdbg/phpdbg_prompt.c efree(PHPDBG_G(exec)); PHPDBG_G 347 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(exec) = NULL; PHPDBG_G 348 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(exec_len) = 0L; PHPDBG_G 351 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(ops)) { PHPDBG_G 356 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(exec) = res; PHPDBG_G 357 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(exec_len) = res_len; PHPDBG_G 359 sapi/phpdbg/phpdbg_prompt.c *SG(request_info).argv = PHPDBG_G(exec); PHPDBG_G 362 sapi/phpdbg/phpdbg_prompt.c phpdbg_notice("Set execution context: %s", PHPDBG_G(exec)); PHPDBG_G 365 sapi/phpdbg/phpdbg_prompt.c phpdbg_error("Failed to compile %s", PHPDBG_G(exec)); PHPDBG_G 383 sapi/phpdbg/phpdbg_prompt.c if (!PHPDBG_G(exec)) { PHPDBG_G 393 sapi/phpdbg/phpdbg_prompt.c phpdbg_notice("Attempting compilation of %s", PHPDBG_G(exec)); PHPDBG_G 395 sapi/phpdbg/phpdbg_prompt.c if (php_stream_open_for_zend_ex(PHPDBG_G(exec), &fh, PHPDBG_G 398 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(ops) = zend_compile_file(&fh, ZEND_INCLUDE TSRMLS_CC); PHPDBG_G 404 sapi/phpdbg/phpdbg_prompt.c phpdbg_error("Could not open file %s", PHPDBG_G(exec)); PHPDBG_G 413 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IS_STEPPING; PHPDBG_G 431 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IN_UNTIL; PHPDBG_G 440 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(seek), PHPDBG_G 459 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IN_FINISH; PHPDBG_G 473 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(seek), PHPDBG_G 492 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IN_LEAVE; PHPDBG_G 506 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(seek), PHPDBG_G 521 sapi/phpdbg/phpdbg_prompt.c phpdbg_notice("Currently in frame #%d", PHPDBG_G(frame).num); PHPDBG_G 584 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(ops) || PHPDBG_G(exec)) { PHPDBG_G 591 sapi/phpdbg/phpdbg_prompt.c if (!PHPDBG_G(ops)) { PHPDBG_G 593 sapi/phpdbg/phpdbg_prompt.c phpdbg_error("Failed to compile %s, cannot run", PHPDBG_G(exec)); PHPDBG_G 598 sapi/phpdbg/phpdbg_prompt.c EG(active_op_array) = PHPDBG_G(ops); PHPDBG_G 599 sapi/phpdbg/phpdbg_prompt.c EG(return_value_ptr_ptr) = &PHPDBG_G(retval); PHPDBG_G 610 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~PHPDBG_SEEK_MASK; PHPDBG_G 612 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(seek)); PHPDBG_G 644 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) ^= PHPDBG_IS_INTERACTIVE; PHPDBG_G 646 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) ^= PHPDBG_IS_INTERACTIVE; PHPDBG_G 653 sapi/phpdbg/phpdbg_prompt.c if (!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) { PHPDBG_G 679 sapi/phpdbg/phpdbg_prompt.c zend_bool stepping = ((PHPDBG_G(flags) & PHPDBG_IS_STEPPING)==PHPDBG_IS_STEPPING); PHPDBG_G 682 sapi/phpdbg/phpdbg_prompt.c if (!(PHPDBG_G(flags) & PHPDBG_IS_STEPONEVAL)) { PHPDBG_G 683 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~ PHPDBG_IS_STEPPING; PHPDBG_G 687 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IN_EVAL; PHPDBG_G 697 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~PHPDBG_IN_EVAL; PHPDBG_G 701 sapi/phpdbg/phpdbg_prompt.c !(PHPDBG_G(flags) & PHPDBG_IS_STEPONEVAL)) { PHPDBG_G 702 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IS_STEPPING; PHPDBG_G 741 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Exec\t\t%s", PHPDBG_G(exec) ? PHPDBG_G(exec) : "none"); PHPDBG_G 742 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Compiled\t%s", PHPDBG_G(ops) ? "yes" : "no"); PHPDBG_G 743 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Stepping\t%s", (PHPDBG_G(flags) & PHPDBG_IS_STEPPING) ? "on" : "off"); PHPDBG_G 744 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Quietness\t%s", (PHPDBG_G(flags) & PHPDBG_IS_QUIET) ? "on" : "off"); PHPDBG_G 745 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Oplog\t\t%s", PHPDBG_G(oplog) ? "on" : "off"); PHPDBG_G 747 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(ops)) { PHPDBG_G 748 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Opcodes\t\t%d", PHPDBG_G(ops)->last); PHPDBG_G 750 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(ops)->last_var) { PHPDBG_G 751 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Variables\t%d", PHPDBG_G(ops)->last_var-1); PHPDBG_G 759 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("VM Return\t%d", PHPDBG_G(vmret)); PHPDBG_G 799 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(exec)) { PHPDBG_G 885 sapi/phpdbg/phpdbg_prompt.c if (!zend_hash_exists(&PHPDBG_G(registered), lcname, lcname_len+1)) { PHPDBG_G 888 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(registered), lcname, lcname_len+1, (void*)&function, sizeof(zend_function), NULL); PHPDBG_G 908 sapi/phpdbg/phpdbg_prompt.c if (!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) { PHPDBG_G 909 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IS_QUITTING; PHPDBG_G 939 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("File\t\t\t%d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE])); PHPDBG_G 940 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Functions\t\t%d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM])); PHPDBG_G 941 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Methods\t\t\t%d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD])); PHPDBG_G 942 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Oplines\t\t\t%d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE])); PHPDBG_G 943 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("File oplines\t\t\t%d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE])); PHPDBG_G 944 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Function oplines\t\t\t%d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE])); PHPDBG_G 945 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Method oplines\t\t\t%d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE])); PHPDBG_G 946 sapi/phpdbg/phpdbg_prompt.c phpdbg_writeln("Conditionals\t\t%d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_COND])); PHPDBG_G 1001 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IS_INTERACTIVE; PHPDBG_G 1012 sapi/phpdbg/phpdbg_prompt.c if (!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) { PHPDBG_G 1030 sapi/phpdbg/phpdbg_prompt.c if (!EG(in_execution) && !(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) { PHPDBG_G 1063 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~PHPDBG_IS_INTERACTIVE; PHPDBG_G 1073 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(ops)) { PHPDBG_G 1074 sapi/phpdbg/phpdbg_prompt.c destroy_op_array(PHPDBG_G(ops) TSRMLS_CC); PHPDBG_G 1075 sapi/phpdbg/phpdbg_prompt.c efree(PHPDBG_G(ops)); PHPDBG_G 1076 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(ops) = NULL; PHPDBG_G 1080 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) |= PHPDBG_IS_CLEANING; PHPDBG_G 1184 sapi/phpdbg/phpdbg_prompt.c if ((PHPDBG_G(flags) & PHPDBG_BP_RESOLVE_MASK)) { PHPDBG_G 1196 sapi/phpdbg/phpdbg_prompt.c if (!(PHPDBG_G(flags) & PHPDBG_IN_EVAL)) { \ PHPDBG_G 1220 sapi/phpdbg/phpdbg_prompt.c if ((PHPDBG_G(flags) & PHPDBG_IN_COND_BP) || PHPDBG_G 1221 sapi/phpdbg/phpdbg_prompt.c (PHPDBG_G(flags) & PHPDBG_IS_INITIALIZING)) { PHPDBG_G 1227 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(flags) & PHPDBG_SEEK_MASK) { PHPDBG_G 1232 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(flags) & PHPDBG_IN_UNTIL) { PHPDBG_G 1233 sapi/phpdbg/phpdbg_prompt.c if (zend_hash_index_exists(&PHPDBG_G(seek), address)) { PHPDBG_G 1234 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~PHPDBG_IN_UNTIL; PHPDBG_G 1236 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(seek)); PHPDBG_G 1244 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(flags) & PHPDBG_IN_FINISH) { PHPDBG_G 1245 sapi/phpdbg/phpdbg_prompt.c if (zend_hash_index_exists(&PHPDBG_G(seek), address)) { PHPDBG_G 1246 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~PHPDBG_IN_FINISH; PHPDBG_G 1248 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(seek)); PHPDBG_G 1255 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(flags) & PHPDBG_IN_LEAVE) { PHPDBG_G 1256 sapi/phpdbg/phpdbg_prompt.c if (zend_hash_index_exists(&PHPDBG_G(seek), address)) { PHPDBG_G 1257 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~PHPDBG_IN_LEAVE; PHPDBG_G 1259 sapi/phpdbg/phpdbg_prompt.c &PHPDBG_G(seek)); PHPDBG_G 1277 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(flags) & PHPDBG_IS_STEPPING && (PHPDBG_G(flags) & PHPDBG_STEP_OPCODE || execute_data->opline->lineno != PHPDBG_G(last_line))) { PHPDBG_G 1278 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~PHPDBG_IS_STEPPING; PHPDBG_G 1293 sapi/phpdbg/phpdbg_prompt.c if ((PHPDBG_G(flags) & PHPDBG_BP_MASK) PHPDBG_G 1295 sapi/phpdbg/phpdbg_prompt.c && (brake->type != PHPDBG_BREAK_FILE || execute_data->opline->lineno != PHPDBG_G(last_line))) { PHPDBG_G 1302 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(flags) & PHPDBG_IS_SIGNALED) { PHPDBG_G 1305 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(flags) &= ~PHPDBG_IS_SIGNALED; PHPDBG_G 1309 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(last_line) = execute_data->opline->lineno; PHPDBG_G 1311 sapi/phpdbg/phpdbg_prompt.c PHPDBG_G(vmret) = execute_data->opline->handler(execute_data TSRMLS_CC); PHPDBG_G 1313 sapi/phpdbg/phpdbg_prompt.c if (PHPDBG_G(vmret) > 0) { PHPDBG_G 1314 sapi/phpdbg/phpdbg_prompt.c switch (PHPDBG_G(vmret)) { PHPDBG_G 88 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) & PHPDBG_IS_BP_ENABLED ? "on" : "off"); PHPDBG_G 120 sapi/phpdbg/phpdbg_set.c if (PHPDBG_G(prompt)[1]) { PHPDBG_G 121 sapi/phpdbg/phpdbg_set.c free(PHPDBG_G(prompt)[1]); PHPDBG_G 122 sapi/phpdbg/phpdbg_set.c PHPDBG_G(prompt)[1]=NULL; PHPDBG_G 150 sapi/phpdbg/phpdbg_set.c phpdbg_writeln("%s", PHPDBG_G(flags) & PHPDBG_IS_COLOURED ? "on" : "off"); PHPDBG_G 154 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) |= PHPDBG_IS_COLOURED; PHPDBG_G 156 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) &= ~PHPDBG_IS_COLOURED; PHPDBG_G 172 sapi/phpdbg/phpdbg_set.c phpdbg_notice("Oplog %s", PHPDBG_G(oplog) ? "enabled" : "disabled"); PHPDBG_G 176 sapi/phpdbg/phpdbg_set.c FILE *old = PHPDBG_G(oplog); PHPDBG_G 178 sapi/phpdbg/phpdbg_set.c PHPDBG_G(oplog) = fopen(param->str, "w+"); PHPDBG_G 179 sapi/phpdbg/phpdbg_set.c if (!PHPDBG_G(oplog)) { PHPDBG_G 181 sapi/phpdbg/phpdbg_set.c PHPDBG_G(oplog) = old; PHPDBG_G 201 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) & PHPDBG_IS_QUIET ? "on" : "off"); PHPDBG_G 205 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) |= PHPDBG_IS_QUIET; PHPDBG_G 207 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) &= ~PHPDBG_IS_QUIET; PHPDBG_G 221 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) & PHPDBG_STEP_OPCODE ? "opcode" : "line"); PHPDBG_G 226 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) |= PHPDBG_STEP_OPCODE; PHPDBG_G 229 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) &= ~PHPDBG_STEP_OPCODE; PHPDBG_G 244 sapi/phpdbg/phpdbg_set.c phpdbg_writeln("Refcount %s", PHPDBG_G(flags) & PHPDBG_IS_QUIET ? "on" : "off"); PHPDBG_G 248 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) |= PHPDBG_SHOW_REFCOUNTS; PHPDBG_G 250 sapi/phpdbg/phpdbg_set.c PHPDBG_G(flags) &= ~PHPDBG_SHOW_REFCOUNTS; PHPDBG_G 164 sapi/phpdbg/phpdbg_utils.c return PHPDBG_G(exec); PHPDBG_G 243 sapi/phpdbg/phpdbg_utils.c if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) { PHPDBG_G 246 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(colors)[PHPDBG_COLOR_ERROR]->code, buffer); PHPDBG_G 253 sapi/phpdbg/phpdbg_utils.c if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) { PHPDBG_G 256 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(colors)[PHPDBG_COLOR_NOTICE]->code, buffer); PHPDBG_G 346 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(colors)[element] = color; PHPDBG_G 355 sapi/phpdbg/phpdbg_utils.c } else PHPDBG_G(colors)[element] = colors; PHPDBG_G 381 sapi/phpdbg/phpdbg_utils.c if (PHPDBG_G(prompt)[1]) { PHPDBG_G 382 sapi/phpdbg/phpdbg_utils.c free(PHPDBG_G(prompt)[1]); PHPDBG_G 383 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(prompt)[1] = NULL; PHPDBG_G 386 sapi/phpdbg/phpdbg_utils.c if (PHPDBG_G(prompt)[0]) { PHPDBG_G 387 sapi/phpdbg/phpdbg_utils.c free(PHPDBG_G(prompt)[0]); PHPDBG_G 388 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(prompt)[0] = NULL; PHPDBG_G 392 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(prompt)[0] = strdup(prompt); PHPDBG_G 398 sapi/phpdbg/phpdbg_utils.c if (PHPDBG_G(prompt)[1]) { PHPDBG_G 399 sapi/phpdbg/phpdbg_utils.c return PHPDBG_G(prompt)[1]; PHPDBG_G 405 sapi/phpdbg/phpdbg_utils.c if ((PHPDBG_G(flags) & PHPDBG_IS_COLOURED)) { PHPDBG_G 407 sapi/phpdbg/phpdbg_utils.c &PHPDBG_G(prompt)[1], "\033[%sm%s\033[0m ", PHPDBG_G 408 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(colors)[PHPDBG_COLOR_PROMPT]->code, PHPDBG_G 409 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(prompt)[0]); PHPDBG_G 414 sapi/phpdbg/phpdbg_utils.c &PHPDBG_G(prompt)[1], "%s ", PHPDBG_G 415 sapi/phpdbg/phpdbg_utils.c PHPDBG_G(prompt)[0]); PHPDBG_G 418 sapi/phpdbg/phpdbg_utils.c return PHPDBG_G(prompt)[1]; PHPDBG_G 55 sapi/phpdbg/phpdbg_utils.h #define phpdbg_error(fmt, ...) phpdbg_print(P_ERROR TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__) PHPDBG_G 56 sapi/phpdbg/phpdbg_utils.h #define phpdbg_notice(fmt, ...) phpdbg_print(P_NOTICE TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__) PHPDBG_G 57 sapi/phpdbg/phpdbg_utils.h #define phpdbg_writeln(fmt, ...) phpdbg_print(P_WRITELN TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__) PHPDBG_G 58 sapi/phpdbg/phpdbg_utils.h #define phpdbg_write(fmt, ...) phpdbg_print(P_WRITE TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__) PHPDBG_G 59 sapi/phpdbg/phpdbg_utils.h #define phpdbg_log(fmt, ...) phpdbg_print(P_LOG TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDOUT], fmt, ##__VA_ARGS__) PHPDBG_G 68 sapi/phpdbg/phpdbg_utils.h # define phpdbg_debug(fmt, ...) phpdbg_print(P_LOG TSRMLS_CC, PHPDBG_G(io)[PHPDBG_STDERR], fmt, ##__VA_ARGS__) PHPDBG_G 47 sapi/phpdbg/phpdbg_watch.c phpdbg_btree_result *result = phpdbg_btree_find_closest(&PHPDBG_G(watchpoint_tree), (zend_ulong)phpdbg_get_page_boundary(addr) + phpdbg_pagesize - 1); PHPDBG_G 80 sapi/phpdbg/phpdbg_watch.c phpdbg_btree_insert(&PHPDBG_G(watchpoint_tree), (zend_ulong)watch->addr.ptr, watch); PHPDBG_G 84 sapi/phpdbg/phpdbg_watch.c phpdbg_btree_delete(&PHPDBG_G(watchpoint_tree), (zend_ulong)watch->addr.ptr); PHPDBG_G 108 sapi/phpdbg/phpdbg_watch.c zend_hash_add(&PHPDBG_G(watchpoints), watch->str, watch->str_len, &watch, sizeof(phpdbg_watchpoint_t *), NULL); PHPDBG_G 111 sapi/phpdbg/phpdbg_watch.c phpdbg_btree_insert(&PHPDBG_G(watch_HashTables), (zend_ulong)watch->parent_container, watch->parent_container->pDestructor); PHPDBG_G 244 sapi/phpdbg/phpdbg_watch.c if (zend_hash_find(&PHPDBG_G(watchpoints), str, str_len, (void **) &watchpoint) == SUCCESS) { PHPDBG_G 258 sapi/phpdbg/phpdbg_watch.c if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong) ht))) { PHPDBG_G 264 sapi/phpdbg/phpdbg_watch.c return zend_hash_del(&PHPDBG_G(watchpoints), watch->str, watch->str_len); PHPDBG_G 272 sapi/phpdbg/phpdbg_watch.c if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong)tmp_watch->addr.ptr)) == NULL) { PHPDBG_G 281 sapi/phpdbg/phpdbg_watch.c ret = zend_hash_del(&PHPDBG_G(watchpoints), watch->str, watch->str_len); PHPDBG_G 471 sapi/phpdbg/phpdbg_watch.c if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong)*zv))) { PHPDBG_G 474 sapi/phpdbg/phpdbg_watch.c PHPDBG_G(watchpoint_hit) = 1; PHPDBG_G 481 sapi/phpdbg/phpdbg_watch.c zend_hash_del(&PHPDBG_G(watchpoints), watch->str, watch->str_len); PHPDBG_G 537 sapi/phpdbg/phpdbg_watch.c zend_llist_add_element(&PHPDBG_G(watchlist_mem), &dump); PHPDBG_G 543 sapi/phpdbg/phpdbg_watch.c zend_hash_clean(&PHPDBG_G(watchpoints)); PHPDBG_G 580 sapi/phpdbg/phpdbg_watch.c zend_llist_init(&PHPDBG_G(watchlist_mem), sizeof(void *), phpdbg_watch_mem_dtor, 1); PHPDBG_G 581 sapi/phpdbg/phpdbg_watch.c phpdbg_btree_init(&PHPDBG_G(watchpoint_tree), sizeof(void *) * 8); PHPDBG_G 582 sapi/phpdbg/phpdbg_watch.c phpdbg_btree_init(&PHPDBG_G(watch_HashTables), sizeof(void *) * 8); PHPDBG_G 583 sapi/phpdbg/phpdbg_watch.c zend_hash_init(&PHPDBG_G(watchpoints), 8, NULL, phpdbg_watch_dtor, 0 ZEND_FILE_LINE_CC); PHPDBG_G 588 sapi/phpdbg/phpdbg_watch.c phpdbg_btree_position pos = phpdbg_btree_find_between(&PHPDBG_G(watchpoint_tree), (zend_ulong)dump->page, (zend_ulong)dump->page + dump->size); PHPDBG_G 632 sapi/phpdbg/phpdbg_watch.c if (PHPDBG_G(flags) & PHPDBG_SHOW_REFCOUNTS || (watch->type == WATCH_ON_ZVAL && memcmp(oldPtr, watch->addr.zv, sizeof(zvalue_value))) || (watch->type == WATCH_ON_HASHTABLE PHPDBG_G 637 sapi/phpdbg/phpdbg_watch.c PHPDBG_G(watchpoint_hit) = 1; PHPDBG_G 657 sapi/phpdbg/phpdbg_watch.c if (PHPDBG_G(flags) & PHPDBG_SHOW_REFCOUNTS && (removed || show_ref)) { PHPDBG_G 664 sapi/phpdbg/phpdbg_watch.c zend_hash_del(&PHPDBG_G(watchpoints), watch->str, watch->str_len); PHPDBG_G 680 sapi/phpdbg/phpdbg_watch.c if (PHPDBG_G(flags) & PHPDBG_SHOW_REFCOUNTS && show_ref) { PHPDBG_G 696 sapi/phpdbg/phpdbg_watch.c if ((htresult = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong)Z_ARRVAL_P((zval *)oldPtr)))) { PHPDBG_G 698 sapi/phpdbg/phpdbg_watch.c zend_hash_del(&PHPDBG_G(watchpoints), htwatch->str, htwatch->str_len); PHPDBG_G 708 sapi/phpdbg/phpdbg_watch.c zend_hash_del(&PHPDBG_G(watchpoints), watch->str, watch->str_len); PHPDBG_G 745 sapi/phpdbg/phpdbg_watch.c if (zend_llist_count(&PHPDBG_G(watchlist_mem)) == 0) { PHPDBG_G 749 sapi/phpdbg/phpdbg_watch.c dump = (phpdbg_watch_memdump **)zend_llist_get_last_ex(&PHPDBG_G(watchlist_mem), &pos); PHPDBG_G 753 sapi/phpdbg/phpdbg_watch.c } while ((dump = (phpdbg_watch_memdump **)zend_llist_get_prev_ex(&PHPDBG_G(watchlist_mem), &pos))); PHPDBG_G 755 sapi/phpdbg/phpdbg_watch.c zend_llist_clean(&PHPDBG_G(watchlist_mem)); PHPDBG_G 757 sapi/phpdbg/phpdbg_watch.c ret = PHPDBG_G(watchpoint_hit)?SUCCESS:FAILURE; PHPDBG_G 758 sapi/phpdbg/phpdbg_watch.c PHPDBG_G(watchpoint_hit) = 0; PHPDBG_G 767 sapi/phpdbg/phpdbg_watch.c for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(watchpoints), &position); PHPDBG_G 768 sapi/phpdbg/phpdbg_watch.c zend_hash_get_current_data_ex(&PHPDBG_G(watchpoints), (void**) &watch, &position) == SUCCESS; PHPDBG_G 769 sapi/phpdbg/phpdbg_watch.c zend_hash_move_forward_ex(&PHPDBG_G(watchpoints), &position)) { PHPDBG_G 778 sapi/phpdbg/phpdbg_watch.c result = phpdbg_btree_find_closest(&PHPDBG_G(watchpoint_tree), (zend_ulong)ptr); PHPDBG_G 784 sapi/phpdbg/phpdbg_watch.c zend_hash_del(&PHPDBG_G(watchpoints), watch->str, watch->str_len); PHPDBG_G 788 sapi/phpdbg/phpdbg_watch.c PHPDBG_G(original_free_function)(ptr);