moriyoshi Mon Feb 16 15:20:56 2004 EDT
Modified files:
/php-src .gdbinit
Log:
- Add "zbacktrace" user-defined command.
http://cvs.php.net/diff.php/php-src/.gdbinit?r1=1.9&r2=1.10&ty=u
Index: php-src/.gdbinit
diff -u php-src/.gdbinit:1.9 php-src/.gdbinit:1.10
--- php-src/.gdbinit:1.9 Mon May 5 07:43:50 2003
+++ php-src/.gdbinit Mon Feb 16 15:20:55 2004
@@ -273,6 +273,18 @@
dump operands of the current opline
end
+define zbacktrace
+ ____executor_globals
+ dump_bt $eg.current_execute_data
+end
+
+document zbacktrace
+ prints backtrace.
+ This command is almost a short cut for
+ > (gdb) ____executor_globals
+ > (gdb) dump_bt $eg.current_execute_data
+end
+
define zmemcheck
set $p = alloc_globals.head
set $stat = "?"
@@ -345,4 +357,3 @@
usage: zmemcheck [ptr].
if ptr is 0, all blocks will be listed.
end
-
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php