mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
help for delete breakpoint
remove redundant decl
This commit is contained in:
parent
dfbde3de5e
commit
72ffef13a1
@ -483,10 +483,10 @@ int phpdbg_find_breakpoint(zend_execute_data* execute_data TSRMLS_DC) /* {{{ */
|
||||
return FAILURE;
|
||||
} /* }}} */
|
||||
|
||||
int phpdbg_delete_breakpoint_from_file_llist(void *brake) {
|
||||
int phpdbg_delete_breakpoint_from_file_llist(void *brake) { /* {{{ */
|
||||
TSRMLS_FETCH();
|
||||
return ((phpdbg_breakfile_t*)brake)->id == PHPDBG_G(del_bp_num);
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
PHPDBG_API void phpdbg_delete_breakpoint(zend_ulong num TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
|
@ -92,7 +92,6 @@ int phpdbg_find_breakpoint_method(zend_op_array* TSRMLS_DC);
|
||||
int phpdbg_find_breakpoint_opline(phpdbg_opline_ptr_t TSRMLS_DC);
|
||||
int phpdbg_find_breakpoint_opcode(zend_uchar TSRMLS_DC);
|
||||
int phpdbg_find_conditional_breakpoint(TSRMLS_D);
|
||||
int phpdbg_find_catch(zend_uchar TSRMLS_DC);
|
||||
int phpdbg_find_breakpoint(zend_execute_data* TSRMLS_DC);
|
||||
|
||||
PHPDBG_API void phpdbg_delete_breakpoint(zend_ulong num TSRMLS_DC);
|
||||
|
@ -247,6 +247,10 @@ PHPDBG_HELP(break) /* {{{ */
|
||||
phpdbg_writeln("\t%sb O ZEND_ADD", PROMPT);
|
||||
phpdbg_writeln("\tWill break on every occurence of the opcode provided");
|
||||
phpdbg_writeln(EMPTY);
|
||||
phpdbg_writeln("\t%sbreak del 1", PROMPT);
|
||||
phpdbg_writeln("\t%sb d 1", PROMPT);
|
||||
phpdbg_writeln("\tWill remove the breakpoint with the given identifier");
|
||||
phpdbg_writeln(EMPTY);
|
||||
phpdbg_writeln("Note: An address is only valid for the current compilation");
|
||||
phpdbg_writeln(EMPTY);
|
||||
phpdbg_notice("The parameters enclosed by [] are usually optional, but help avoid ambigious commands");
|
||||
|
Loading…
Reference in New Issue
Block a user