com php-src: Add request id to <backtrace>: phpdbg_frame.c
| From: | Bob Weinand | Date: | Mon, 06 Oct 2014 11:20:04 +0000 |
| Subject: | com php-src: Add request id to <backtrace>: phpdbg_frame.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82579@lists.php.net to get a copy of this message | ||
Commit: 699497e99f27571c21b45d3bc8335a207ad75cdd
Author: Bob Weinand <bobwei9@hotmail.com> Mon, 6 Oct 2014 13:20:04 +0200
Parents: abd75ea2c5d28f61ca02092aaea600917ddc008c
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=699497e99f27571c21b45d3bc8335a207ad75cdd
Log:
Add request id to <backtrace>
Changed paths:
M phpdbg_frame.c
Diff:
diff --git a/phpdbg_frame.c b/phpdbg_frame.c
index eb4a9a8..ea63122 100644
--- a/phpdbg_frame.c
+++ b/phpdbg_frame.c
@@ -155,7 +155,7 @@ static void phpdbg_dump_prototype(zval **tmp TSRMLS_DC) /* {{{ */
if (j) {
phpdbg_out(", ");
}
- phpdbg_xml("<arg");
+ phpdbg_xml("<arg %r");
if (m && j < m) {
#if PHP_VERSION_ID >= 50600
is_variadic = arginfo[j].is_variadic;
@@ -194,7 +194,7 @@ void phpdbg_dump_backtrace(size_t num TSRMLS_DC) /* {{{ */
phpdbg_error("backtrace", "type=\"minnum\"", "Invalid
backtrace size %d", limit);
}
- phpdbg_xml("<backtrace>");
+ phpdbg_xml("<backtrace %r>");
zend_fetch_debug_backtrace(
&zbacktrace, 0, 0, limit TSRMLS_CC);