]> granicus.if.org Git - php/commitdiff
- Change breakpoint id to int
authorFelipe Pena <felipensp@gmail.com>
Sun, 10 Nov 2013 20:10:54 +0000 (18:10 -0200)
committerFelipe Pena <felipensp@gmail.com>
Sun, 10 Nov 2013 20:10:54 +0000 (18:10 -0200)
phpdbg.h
phpdbg_bp.c
phpdbg_bp.h

index c2f949bc8998c09930ba5bdfc50d3cf8a5652c97..c5f6104cefbd73378cf804d1cdf7852b9fc5fd89 100644 (file)
--- 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 */
index 2db30d33663d34163b93258d45ed9677009a8a7b..7114ff0530c937dabb29c2c9c862d654b75f3882 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "zend.h"
 #include "zend_hash.h"
+#include "zend_llist.h"
 #include "phpdbg.h"
 #include "phpdbg_bp.h"
 
index e8cb84b92e60c8c48684f4598821926d941b4731..38b9c6174c6773b777b4eb567af21be7ad807920 100644 (file)
@@ -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);