summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_bp.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-04-21 21:53:12 +0800
committerXinchen Hui <laruence@php.net>2015-04-21 21:53:12 +0800
commite121ccaaaddcb6c49d77c49c2fe6e7c6c6ade2ab (patch)
treeebd76c271b5333bde5f486192f6d2f8943a281fc /sapi/phpdbg/phpdbg_bp.c
parent8362aebdbfa15e6afb52b2d46f44228ad08cec5e (diff)
downloadphp-git-e121ccaaaddcb6c49d77c49c2fe6e7c6c6ade2ab.tar.gz
Fixed warnings and folder marks mess
Diffstat (limited to 'sapi/phpdbg/phpdbg_bp.c')
-rw-r--r--sapi/phpdbg/phpdbg_bp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_bp.c b/sapi/phpdbg/phpdbg_bp.c
index 1be980ce75..022af9b1c9 100644
--- a/sapi/phpdbg/phpdbg_bp.c
+++ b/sapi/phpdbg/phpdbg_bp.c
@@ -41,10 +41,11 @@ static inline phpdbg_breakbase_t *phpdbg_find_conditional_breakpoint(zend_execut
* A break point must always set the correct id and type
* A set breakpoint function must always map new points
*/
-static inline void _phpdbg_break_mapping(int id, HashTable *table)
+static inline void _phpdbg_break_mapping(int id, HashTable *table) /* {{{ */
{
zend_hash_index_update_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], id, table);
}
+/* }}} */
#define PHPDBG_BREAK_MAPPING(id, table) _phpdbg_break_mapping(id, table)
#define PHPDBG_BREAK_UNMAPPING(id) \
@@ -108,6 +109,7 @@ PHPDBG_API void phpdbg_export_breakpoints(FILE *handle) /* {{{ */
phpdbg_export_breakpoints_to_string(&string);
fputs(string, handle);
}
+/* }}} */
PHPDBG_API void phpdbg_export_breakpoints_to_string(char **str) /* {{{ */
{
@@ -622,6 +624,7 @@ PHPDBG_API void phpdbg_set_breakpoint_method_opline(const char *class, const cha
zend_hash_index_update_mem(method_table, opline, &new_break, sizeof(phpdbg_breakopline_t));
}
+/* }}} */
PHPDBG_API void phpdbg_set_breakpoint_function_opline(const char *function, zend_ulong opline) /* {{{ */
{
@@ -667,6 +670,7 @@ PHPDBG_API void phpdbg_set_breakpoint_function_opline(const char *function, zend
zend_hash_index_update_mem(func_table, opline, &new_break, sizeof(phpdbg_breakopline_t));
}
+/* }}} */
PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong opline) /* {{{ */
{
@@ -712,6 +716,7 @@ PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong o
zend_hash_index_update_mem(file_table, opline, &new_break, sizeof(phpdbg_breakopline_t));
}
+/* }}} */
PHPDBG_API void phpdbg_set_breakpoint_opcode(const char *name, size_t name_len) /* {{{ */
{