cvs: php4(PHP_4_3) / .gdbinit

From: Date: Sun, 06 Apr 2003 17:54:32 +0000
Subject: cvs: php4(PHP_4_3) / .gdbinit
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20139@lists.php.net to get a copy of this message
moriyoshi Sun Apr 6 13:54:32 2003 EDT Added files: (Branch: PHP_4_3) /php4 .gdbinit Log: MFH(r-1.2) Index: php4/.gdbinit +++ php4/.gdbinit define dump_bt set $t = $arg0 while $t printf "[0x%08x] ", $t if $t->function_state.function->common.function_name printf "%s() ", $t->function_state.function->common.function_name else printf "??? " end if $t->op_array != 0 printf "%s:%d ", $t->op_array->filename, $t->opline->lineno end set $t = $t->prev_execute_data printf "\n" end end document dump_bt dumps the current execution stack. usage: dump_bt executor_globals.current_execute_data end

« previous php.cvs (#20139) next »