From 29aad0ef45618a25d5f87031a3e4e74ba1f6ac58 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 22 Jun 2015 12:56:29 +0200 Subject: Add phpdbg userland API to fetch oplog We may want to add some opcode info later, so that "opcodes" mode is more helpful --- sapi/phpdbg/phpdbg.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sapi/phpdbg/phpdbg.h') 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; -- cgit v1.2.1