com php-src: add oplog status to context information on print command: phpdbg_prompt.c
| From: | Bob Weinand | Date: | Fri, 15 Nov 2013 16:12:27 +0000 |
| Subject: | com php-src: add oplog status to context information on print command: phpdbg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74944@lists.php.net to get a copy of this message | ||
Commit: 24c6e3c317685cc18bfc74e37b10b4d9c1b7fecd
Author: krakjoe <joe.watkins@live.co.uk> Fri, 15 Nov 2013 16:12:27 +0000
Parents: ae5f0d0f27162116b630aaf22e665402857eb534
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=24c6e3c317685cc18bfc74e37b10b4d9c1b7fecd
Log:
add oplog status to context information on print command
Changed paths:
M phpdbg_prompt.c
Diff:
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c
index 9e507ea..38b581e 100644
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@ -402,10 +402,12 @@ static PHPDBG_COMMAND(print) /* {{{ */
#else
phpdbg_writeln("Readline\tno");
#endif
+
phpdbg_writeln("Exec\t\t%s", PHPDBG_G(exec) ? PHPDBG_G(exec) : "none");
phpdbg_writeln("Compiled\t%s", PHPDBG_G(ops) ? "yes" : "no");
phpdbg_writeln("Stepping\t%s", (PHPDBG_G(flags) & PHPDBG_IS_STEPPING) ?
"on" : "off");
phpdbg_writeln("Quietness\t%s", (PHPDBG_G(flags) & PHPDBG_IS_QUIET) ?
"on" : "off");
+ phpdbg_writeln("Oplog\t\t%s", PHPDBG_G(oplog) ? "on" : "off");
if (PHPDBG_G(ops)) {
phpdbg_writeln("Opcodes\t\t%d", PHPDBG_G(ops)->last);
@@ -416,6 +418,7 @@ static PHPDBG_COMMAND(print) /* {{{ */
phpdbg_writeln("Variables\tNone");
}
}
+
phpdbg_writeln("Executing\t%s", EG(in_execution) ? "yes" : "no");
if (EG(in_execution)) {
phpdbg_writeln("VM Return\t%d", PHPDBG_G(vmret));