[xdebug-dev] xdebug xdebug/xdebug_handler_gdb.c - Fixed ZTS issue.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Fri, 29 Sep 2006 16:27:22 +0200

Date: Fri Sep 29 16:27:22 CEST 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- Fixed ZTS issue.

Modified files:
           xdebug/xdebug_handler_gdb.c (version: 1.80)

[FILE: /xdebug/xdebug_handler_gdb.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- xdebug/xdebug_handler_gdb.c:1.79 Fri Sep 29 08:07:16 2006 GMT
+++ xdebug/xdebug_handler_gdb.c Fri Sep 29 12:27:22 2006 GMT
@@ -335,7 +335,7 @@
         switch (options->response_format) {
                    case XDEBUG_RESPONSE_NORMAL:
                         if (val) {
- str_rep = get_zval_value(val, 0, xdebug_var_get_nolimit_options());
+ str_rep = get_zval_value(val, 0, xdebug_var_get_nolimit_options(TSRMLS_C));
                         } else {
                                 str_rep = xdstrdup("*uninitialized*");
                         }
@@ -520,7 +520,7 @@
                 if (i->var[j].name) {
                    SENDMSG(h->socket, xdebug_sprintf("$%s = ", i->var[j].name));
                 }
- tmp_value = get_zval_value(i->var[j].addr, 0, xdebug_var_get_nolimit_options());
+ tmp_value = get_zval_value(i->var[j].addr, 0, xdebug_var_get_nolimit_options(TSRMLS_C));
                 /* we ignore binary safety here */
                 tmp = xmlize(tmp_value, strlen(tmp_value), &len);
                 SSENDL(h->socket, tmp, len);
@@ -577,7 +577,7 @@
                 if (i->var[j].name) {
                    SENDMSG(h->socket, xdebug_sprintf("$%s = ", i->var[j].name));
                 }
- tmp_value = get_zval_value(i->var[j].addr, 0, xdebug_var_get_nolimit_options());
+ tmp_value = get_zval_value(i->var[j].addr, 0, xdebug_var_get_nolimit_options(TSRMLS_C));
                 /* we ignore binary safety here */
                 tmp = xmlize(tmp_value, strlen(tmp_value), &len);
                 SSENDL(h->socket, tmp, len);
@@ -1334,7 +1334,7 @@
 
 char *xdebug_gdb_get_revision(void)
 {
- return "$Revision: 1.79 $";
+ return "$Revision: 1.80 $";
 }
 
 int xdebug_gdb_init(xdebug_con *context, int mode)
Received on Fri Sep 29 2006 - 16:27:51 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST