summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-07-02 10:27:59 +0200
committerAnatol Belski <ab@php.net>2014-07-02 10:27:59 +0200
commit84876850ff3e50ee7b85abc7261bdf9038d65e4b (patch)
tree091e7474679a1b6700459d6db2e36e0ac9272397 /sapi/phpdbg/phpdbg.h
parent0e7bf92129f608c44f4d5bd51139ec2bd85fecc8 (diff)
parent96783bdfb79b33646dc916d4b93bc33b78d70c4c (diff)
downloadphp-git-84876850ff3e50ee7b85abc7261bdf9038d65e4b.tar.gz
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
* origin/str_size_and_int64_56_backport: (178 commits) fix integer overflow in {stream,file}_{get,put}_contents() add some missing NEWS entries NEWS block for 5.6.0RC3 Fix ext/pgsql builds with libpq < 7.3. updated libs_version.txt updated libs_version.txt updated libmagic.patch in 5.6+ updated libmagic.patch Fixed possible crash because of race conditions on modifying constants in shared memory remove the NEWS entry for the reverted fpm fix remove the NEWS entry for the reverted fpm fix remove the NEWS entry for the reverted fpm fix Revert "Fix Bug #67530 error_log=syslog ignored" --enable-fpm for the travis build fix the last fpm NEWS entry, the other bug is related, but not the same what we fixed here NEWS NEWS Fix bug #67091: make install fails to install libphp5.so on FreeBSD 10.0 adding NEWS entry for the fix for bug #65641 Updated NEWS file for recent phpdbg fixes ...
Diffstat (limited to 'sapi/phpdbg/phpdbg.h')
-rw-r--r--sapi/phpdbg/phpdbg.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg.h b/sapi/phpdbg/phpdbg.h
index e10dfe18b6..9d1371b66f 100644
--- a/sapi/phpdbg/phpdbg.h
+++ b/sapi/phpdbg/phpdbg.h
@@ -64,16 +64,22 @@
# include "TSRM.h"
#endif
-#ifdef HAVE_LIBREADLINE
+#ifdef LIBREADLINE
# include <readline/readline.h>
# include <readline/history.h>
#endif
+#ifdef HAVE_LIBEDIT
+# include <editline/readline.h>
+#endif
+#include "phpdbg_lexer.h"
#include "phpdbg_cmd.h"
#include "phpdbg_utils.h"
#include "phpdbg_btree.h"
#include "phpdbg_watch.h"
+int phpdbg_do_parse(phpdbg_param_t *stack, char *input TSRMLS_DC);
+
#ifdef ZTS
# define PHPDBG_G(v) TSRMG(phpdbg_globals_id, zend_phpdbg_globals *, v)
#else
@@ -176,10 +182,12 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg)
phpdbg_frame_t frame; /* frame */
zend_uint last_line; /* last executed line */
+ phpdbg_lexer_data lexer; /* lexer data */
+ phpdbg_param_t *parser_stack; /* param stack during lexer / parser phase */
+
#ifndef _WIN32
struct sigaction old_sigsegv_signal; /* segv signal handler */
#endif
-
phpdbg_btree watchpoint_tree; /* tree with watchpoints */
phpdbg_btree watch_HashTables; /* tree with original dtors of watchpoints */
HashTable watchpoints; /* watchpoints */