Date: Mon Jul 20 12:17:40 CEST 2009
User: Allister Beharry
Directory: xdebug
Log Message:
[2.1-dev]
- Added XDEBUG_CC_LINE_ COVERAGE_EX XDEBUG_CC_LBRANCH_ COVERAGE and XDEBUG_CC_DUMP_INSTRUCTIONS extension constants
- Added code_coverage_basic_blocks array to Xdebug globals
- Re-added opcode handlers for ZRND_BRK and ZEND_CONT
-
Modified files:
xdebug/xdebug.c (version: 1.454.4.2)
[FILE: /xdebug/xdebug.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.454.4.1
retrieving revision 1.454.4.2
diff -u -r1.454.4.1 -r1.454.4.2
--- xdebug/xdebug.c:1.454.4.1 Fri Jul 17 04:12:07 2009 GMT
+++ xdebug/xdebug.c Mon Jul 20 08:17:40 2009 GMT
@@ -726,6 +726,8 @@
XDEBUG_OPCODE_OVERRIDE(isset_isempty_prop_obj)
XDEBUG_OPCODE_OVERRIDE(handle_exception)
XDEBUG_OPCODE_OVERRIDE(user_opcode)
+XDEBUG_OPCODE_OVERRIDE(brk)
+XDEBUG_OPCODE_OVERRIDE(cont)
PHP_MINIT_FUNCTION(xdebug)
{
@@ -810,6 +812,8 @@
XDEBUG_SET_OPCODE_OVERRIDE(jmpnz_ex, ZEND_JMPNZ_EX )
XDEBUG_SET_OPCODE_OVERRIDE(case,ZEND_CASE )
XDEBUG_SET_OPCODE_OVERRIDE(switch_free, ZEND_SWITCH_FREE )
+ XDEBUG_SET_OPCODE_OVERRIDE(brk, ZEND_BRK)
+ XDEBUG_SET_OPCODE_OVERRIDE(cont, ZEND_CONT)
XDEBUG_SET_OPCODE_OVERRIDE(bool, ZEND_BOOL )
XDEBUG_SET_OPCODE_OVERRIDE(init_string, ZEND_INIT_STRING )
XDEBUG_SET_OPCODE_OVERRIDE(add_char, ZEND_ADD_CHAR )
@@ -901,6 +905,9 @@
REGISTER_LONG_CONSTANT("XDEBUG_CC_UNUSED", XDEBUG_CC_OPTION_UNUSED, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("XDEBUG_CC_DEAD_CODE", XDEBUG_CC_OPTION_DEAD_CODE, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("XDEBUG_CC_LINE_COVERAGE_EX", XDEBUG_CC_OPTION_LINE_COVERAGE_EX, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("XDEBUG_CC_BRANCH_COVERAGE", XDEBUG_CC_OPTION_BRANCH_COVERAGE, CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("XDEBUG_CC_DUMP_INSTRUCTIONS", XDEBUG_CC_OPTION_DUMP_INSTRUCTIONS, CONST_CS | CONST_PERSISTENT);
XG(breakpoint_count) = 0;
return SUCCESS;
@@ -1014,6 +1021,8 @@
XG(do_trace) = 0;
XG(do_code_coverage) = 0;
XG(code_coverage) = xdebug_hash_alloc(32, xdebug_coverage_file_dtor);
+ MAKE_STD_ZVAL(XG(code_coverage_basic_blocks));
+ array_init(XG(code_coverage_basic_blocks));
XG(stack) = xdebug_llist_alloc(xdebug_stack_element_dtor);
XG(trace_file) = NULL;
XG(tracefile_name) = NULL;
Received on Mon Jul 20 2009 - 12:17:44 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST