summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-06-22 12:56:29 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-06-22 12:58:33 +0200
commit29aad0ef45618a25d5f87031a3e4e74ba1f6ac58 (patch)
treea56120bd135219363d0de77dcb6af2c055245cec /sapi/phpdbg/phpdbg.h
parent44d545b8e1c0bb48a969e5208b6002b2423e6bde (diff)
downloadphp-git-29aad0ef45618a25d5f87031a3e4e74ba1f6ac58.tar.gz
Add phpdbg userland API to fetch oplog
We may want to add some opcode info later, so that "opcodes" mode is more helpful
Diffstat (limited to 'sapi/phpdbg/phpdbg.h')
-rw-r--r--sapi/phpdbg/phpdbg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.h b/sapi/phpdbg/phpdbg.h
index 2cb588d086..7fb8083793 100644
--- a/sapi/phpdbg/phpdbg.h
+++ b/sapi/phpdbg/phpdbg.h
@@ -130,6 +130,7 @@
#include "phpdbg_btree.h"
#include "phpdbg_watch.h"
#include "phpdbg_bp.h"
+#include "phpdbg_opcode.h"
#ifdef PHP_WIN32
# include "phpdbg_sigio_win32.h"
#endif
@@ -264,6 +265,10 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg)
HashTable file_sources;
FILE *oplog; /* opline log */
+ zend_arena *oplog_arena; /* arena for storing oplog */
+ phpdbg_oplog_list *oplog_list; /* list of oplog starts */
+ phpdbg_oplog_entry *oplog_cur; /* current oplog entry */
+
struct {
FILE *ptr;
int fd;