From: Felipe Pena Date: Sun, 10 Nov 2013 20:10:54 +0000 (-0200) Subject: - Change breakpoint id to int X-Git-Tag: php-5.6.0alpha1~110^2~516^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaf5d892928f7ca4af42cdd98bfb9f0f9adc06d3;p=php - Change breakpoint id to int --- diff --git a/phpdbg.h b/phpdbg.h index c2f949bc89..c5f6104cef 100644 --- a/phpdbg.h +++ b/phpdbg.h @@ -51,7 +51,7 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg) size_t exec_len; /* size of exec */ zend_op_array *ops; /* op_array */ zval *retval; /* return value */ - size_t bp_count; /* breakpoint count */ + int bp_count; /* breakpoint count */ int stepping; /* stepping */ int vmret; /* return from last opcode handler execution */ zend_bool has_file_bp; /* file-based breakpoint has been set */ diff --git a/phpdbg_bp.c b/phpdbg_bp.c index 2db30d3366..7114ff0530 100644 --- a/phpdbg_bp.c +++ b/phpdbg_bp.c @@ -19,6 +19,7 @@ #include "zend.h" #include "zend_hash.h" +#include "zend_llist.h" #include "phpdbg.h" #include "phpdbg_bp.h" diff --git a/phpdbg_bp.h b/phpdbg_bp.h index e8cb84b92e..38b9c6174c 100644 --- a/phpdbg_bp.h +++ b/phpdbg_bp.h @@ -26,7 +26,7 @@ typedef struct _phpdbg_breakfile_t { const char *filename; long line; - size_t id; + int id; } phpdbg_breakfile_t; /** @@ -35,7 +35,7 @@ typedef struct _phpdbg_breakfile_t { typedef struct _phpdbg_breaksymbol_t { const char *symbol; long opline_num; - size_t id; + int id; } phpdbg_breaksymbol_t; void phpdbg_set_breakpoint_file(const char*, const char* TSRMLS_DC);