- Added catch command

This commit is contained in:
Felipe Pena 2013-11-23 20:03:17 -02:00
parent 1c6e54ecdf
commit f5c07f61e1
6 changed files with 69 additions and 6 deletions

View file

@ -110,6 +110,8 @@
#define PHPDBG_IS_SIGNALED (1<<19)
#define PHPDBG_IS_INTERACTIVE (1<<20)
#define PHPDBG_HAS_CATCH (1<<21)
#ifndef _WIN32
# define PHPDBG_DEFAULT_FLAGS (PHPDBG_IS_QUIET|PHPDBG_IS_COLOURED)
#else
@ -138,6 +140,7 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg)
phpdbg_param_t lparam; /* last param */
FILE *oplog; /* opline log */
HashTable seek; /* seek oplines */
HashTable catch; /* seek opcodes */
zend_ulong flags; /* phpdbg flags */
HashTable registered; /* registered */
phpdbg_frame_t frame; /* frame */