Commit: 3e14ff7cee168c6915883ed5fdd81c1d7f5fa5e7 Author: krakjoe <joe.watk...@live.co.uk> Mon, 25 Nov 2013 18:03:38 +0000 Parents: 7ac64cdf46bc70a14dd9fabaa663ecae41e93322 Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3e14ff7cee168c6915883ed5fdd81c1d7f5fa5e7 Log: symbol breakpoint export Changed paths: M phpdbg_bp.c Diff: diff --git a/phpdbg_bp.c b/phpdbg_bp.c index d045255..fb61cf8 100644 --- a/phpdbg_bp.c +++ b/phpdbg_bp.c @@ -74,6 +74,21 @@ PHPDBG_API void phpdbg_export_breakpoints(FILE *handle TSRMLS_DC) /* {{{ */ } } + if (PHPDBG_G(flags) & PHPDBG_HAS_SYM_BP) { + phpdbg_breaksymbol_t *brake; + + table = &PHPDBG_G(bp)[PHPDBG_BREAK_SYM]; + + phpdbg_notice("Exporting symbol breakpoints (%d)", zend_hash_num_elements(table)); + + for (zend_hash_internal_pointer_reset_ex(table, &position); + zend_hash_get_current_data_ex(table, (void*) &brake, &position) == SUCCESS; + zend_hash_move_forward_ex(table, &position)) { + fprintf( + handle, "break %s\n", brake->symbol); + } + } + /* export other types here after resolving errors from source command */ } /* }}} */ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php