com php-src: help for delete breakpoint remove redundant decl: phpdbg_bp.c phpdbg_bp.h phpdbg_help.c

From: Date: Sun, 24 Nov 2013 12:06:45 +0000
Subject: com php-src: help for delete breakpoint remove redundant decl: phpdbg_bp.c phpdbg_bp.h phpdbg_help.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74658@lists.php.net to get a copy of this message
Commit: 72ffef13a113a9f72eb39d5f8487ba0b646505f1 Author: krakjoe <joe.watkins@live.co.uk> Sun, 24 Nov 2013 12:06:45 +0000 Parents: dfbde3de5ec984b5a3a8057c95d790835d9daf0b Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=72ffef13a113a9f72eb39d5f8487ba0b646505f1 Log: help for delete breakpoint remove redundant decl Changed paths: M phpdbg_bp.c M phpdbg_bp.h M phpdbg_help.c Diff: diff --git a/phpdbg_bp.c b/phpdbg_bp.c index d6252de..fdb191b 100644 --- a/phpdbg_bp.c +++ b/phpdbg_bp.c @@ -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) /* {{{ */ { diff --git a/phpdbg_bp.h b/phpdbg_bp.h index 11ad932..f23904f 100644 --- a/phpdbg_bp.h +++ b/phpdbg_bp.h @@ -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); diff --git a/phpdbg_help.c b/phpdbg_help.c index 9f56dbc..3a699d6 100644 --- a/phpdbg_help.c +++ b/phpdbg_help.c @@ -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");

« previous php.cvs (#74658) next »