com php-src: - Change breakpoint id to int: phpdbg.h phpdbg_bp.c phpdbg_bp.h
| From: | Bob Weinand | Date: | Sun, 10 Nov 2013 20:10:54 +0000 |
| Subject: | com php-src: - Change breakpoint id to int: phpdbg.h phpdbg_bp.c phpdbg_bp.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75174@lists.php.net to get a copy of this message | ||
Commit: eaf5d892928f7ca4af42cdd98bfb9f0f9adc06d3
Author: Felipe Pena <felipensp@gmail.com> Sun, 10 Nov 2013 18:10:54 -0200
Parents: 972550a1206f02bc3fa6774c1ce740704729e8b0
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eaf5d892928f7ca4af42cdd98bfb9f0f9adc06d3
Log:
- Change breakpoint id to int
Changed paths:
M phpdbg.h
M phpdbg_bp.c
M phpdbg_bp.h
Diff:
diff --git a/phpdbg.h b/phpdbg.h
index c2f949b..c5f6104 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 2db30d3..7114ff0 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 e8cb84b..38b9c61 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);