com php-src: Fix phpdbg breakpoint restoring after execution completes: sapi/phpdbg/phpdbg_bp.c
| From: | Bob Weinand | Date: | Sun, 13 Nov 2016 11:44:25 +0000 |
| Subject: | com php-src: Fix phpdbg breakpoint restoring after execution completes: sapi/phpdbg/phpdbg_bp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95751@lists.php.net to get a copy of this message | ||
Commit: 57c0773cd7aac0684044c65f7722cf53703bf81d
Author: Mitch Hagstrand <mhagstrand@gmail.com> Sun, 13 Nov 2016 02:59:13 -0800
Committer: Bob Weinand <bobwei9@hotmail.com> Sun, 13 Nov 2016 12:44:25 +0100
Parents: 84e2904def531c733bd4b3289184bb10a39479d3
Branches: PHP-7..0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=57c0773cd7aac0684044c65f7722cf53703bf81d
Log:
Fix phpdbg breakpoint restoring after execution completes
Changed paths:
M sapi/phpdbg/phpdbg_bp.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_bp.c b/sapi/phpdbg/phpdbg_bp.c
index a690a77..bb9d37b 100644
--- a/sapi/phpdbg/phpdbg_bp.c
+++ b/sapi/phpdbg/phpdbg_bp.c
@@ -136,7 +136,7 @@ PHPDBG_API void phpdbg_export_breakpoints_to_string(char **str) /* {{{ */
switch (brake->type) {
case PHPDBG_BREAK_FILE: {
phpdbg_asprintf(&new_str,
- "%sbreak %s:%lu\n", *str,
+ "%sbreak \"%s\":%lu\n", *str,
((phpdbg_breakfile_t*)brake)->filename,
((phpdbg_breakfile_t*)brake)->line);
} break;