Lines Matching refs:opline
338 PHPDBG_API void phpdbg_set_breakpoint_opline(zend_ulong opline TSRMLS_DC) /* {{{ */ in phpdbg_set_breakpoint_opline()
340 if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline)) { in phpdbg_set_breakpoint_opline()
347 new_break.opline = opline; in phpdbg_set_breakpoint_opline()
350 zend_hash_index_update(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline, in phpdbg_set_breakpoint_opline()
354 new_break.id, new_break.opline); in phpdbg_set_breakpoint_opline()
357 phpdbg_notice("Breakpoint exists at %#lx", opline); in phpdbg_set_breakpoint_opline()
379 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num); in phpdbg_resolve_op_array_break()
392 …zend_hash_index_update(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline_break.opline, &opline_break, siz… in phpdbg_resolve_op_array_break()
432 brake->opline); in phpdbg_resolve_op_array_breaks()
499 …eakpoint_method_opline(const char *class, const char *method, zend_ulong opline TSRMLS_DC) /* {{{ … in phpdbg_set_breakpoint_method_opline()
510 new_break.opline_num = opline; in phpdbg_set_breakpoint_method_opline()
511 new_break.opline = 0; in phpdbg_set_breakpoint_method_opline()
515 …ng breakpoint #%d at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
519 …akpoint #%d added at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
544 if (zend_hash_index_exists(method_table, opline)) { in phpdbg_set_breakpoint_method_opline()
545 …ice("Breakpoint already exists for %s::%s#%ld", new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
556 zend_hash_index_update(method_table, opline, &new_break, sizeof(phpdbg_breakopline_t), NULL); in phpdbg_set_breakpoint_method_opline()
559 PHPDBG_API void phpdbg_set_breakpoint_function_opline(const char *function, zend_ulong opline TSRML… in phpdbg_set_breakpoint_function_opline()
569 new_break.opline_num = opline; in phpdbg_set_breakpoint_function_opline()
570 new_break.opline = 0; in phpdbg_set_breakpoint_function_opline()
574 phpdbg_notice("Pending breakpoint #%d at %s#%ld", new_break.id, new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
578 phpdbg_notice("Breakpoint #%d added at %s#%ld", new_break.id, new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
594 if (zend_hash_index_exists(func_table, opline)) { in phpdbg_set_breakpoint_function_opline()
595 phpdbg_notice("Breakpoint already exists for %s#%ld", new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
605 zend_hash_index_update(func_table, opline, &new_break, sizeof(phpdbg_breakopline_t), NULL); in phpdbg_set_breakpoint_function_opline()
608 PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong opline TSRMLS_DC) /*… in phpdbg_set_breakpoint_file_opline()
618 new_break.opline_num = opline; in phpdbg_set_breakpoint_file_opline()
619 new_break.opline = 0; in phpdbg_set_breakpoint_file_opline()
623 phpdbg_notice("Pending breakpoint #%d at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
627 phpdbg_notice("Breakpoint #%d added at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
643 if (zend_hash_index_exists(file_table, opline)) { in phpdbg_set_breakpoint_file_opline()
644 phpdbg_notice("Breakpoint already exists for %s:%ld", new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
654 zend_hash_index_update(file_table, opline, &new_break, sizeof(phpdbg_breakopline_t), NULL); in phpdbg_set_breakpoint_file_opline()
681 PHPDBG_API void phpdbg_set_breakpoint_opline_ex(phpdbg_opline_ptr_t opline TSRMLS_DC) /* {{{ */ in phpdbg_set_breakpoint_opline_ex()
683 if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline)) { in phpdbg_set_breakpoint_opline_ex()
689 new_break.opline = (zend_ulong) opline; in phpdbg_set_breakpoint_opline_ex()
693 (zend_ulong) opline, &new_break, sizeof(phpdbg_breakline_t), NULL); in phpdbg_set_breakpoint_opline_ex()
696 new_break.id, new_break.opline); in phpdbg_set_breakpoint_opline_ex()
864 static inline phpdbg_breakbase_t *phpdbg_find_breakpoint_opline(phpdbg_opline_ptr_t opline TSRMLS_D… in phpdbg_find_breakpoint_opline()
869 (zend_ulong) opline, (void**)&brake) == SUCCESS) { in phpdbg_find_breakpoint_opline()
913 return param->type == STR_PARAM || execute_data->opline - ops->opcodes == param->num; in phpdbg_find_breakpoint_param()
946 return param->type == METHOD_PARAM || (execute_data->opline - ops->opcodes) == param->num; in phpdbg_find_breakpoint_param()
954 return ((zend_ulong)(phpdbg_opline_ptr_t)execute_data->opline == param->addr); in phpdbg_find_breakpoint_param()
1059 if (execute_data->opline == EG(active_op_array)->opcodes) {
1068 (base = phpdbg_find_breakpoint_opline(execute_data->opline TSRMLS_CC))) {
1073 (base = phpdbg_find_breakpoint_opcode(execute_data->opline->opcode TSRMLS_CC))) {
1128 zend_hash_index_del(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], ((phpdbg_breakopline_t*)brake)->opline);
1212 ((phpdbg_breakline_t*)brake)->opline,
1434 phpdbg_writeln("#%d\t\t%#lx\t\t(%s breakpoint)%s", brake->id, brake->opline,
1443 phpdbg_writeln("#%d\t\t%#lx", brake->id, brake->opline);