Date: Fri Apr 9 22:02:48 CEST 2004
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Fixed earlier introduced bug where parameters to eval() were recorded
wrongly. Parameters to eval() are no also always recorded.
Modified files:
xdebug/xdebug.c (version: 1.205)
[FILE: /xdebug/xdebug.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.204
retrieving revision 1.205
diff -u -r1.204 -r1.205
--- xdebug/xdebug.c:1.204 Sun Apr 04 20:03:21 2004 GMT
+++ xdebug/xdebug.c Fri Apr 09 18:02:48 2004 GMT
@@ -680,7 +680,15 @@
cur_opcode = *EG(opline_ptr);
tmp->lineno = cur_opcode->lineno;
- if (XG(collect_includes)) {
+ if (tmp->function.type == XFUNC_EVAL) {
+ zval *param;
+ int is_var;
+
+ param = get_zval(&zdata->opline->op1, zdata->Ts, &is_var);
+ tmp->vars[tmp->varc].name = NULL;
+ tmp->vars[tmp->varc].addr = param;
+ tmp->varc++;
+ } else if (XG(collect_includes)) {
tmp->include_filename = xdstrdup(zend_get_executed_filename(TSRMLS_C));
}
Received on Fri Apr 09 2004 - 22:02:50 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST