diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2004-02-16 20:20:55 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2004-02-16 20:20:55 +0000 |
commit | 097bfda39db6d75e77783d6f4a2ed407660e2743 (patch) | |
tree | 43020360c0424fbad13d911ef591be4b44a290ee /.gdbinit | |
parent | 7a7927c146c7be191f4ddfc8f8f21eaccac22078 (diff) | |
download | php-git-097bfda39db6d75e77783d6f4a2ed407660e2743.tar.gz |
- Add "zbacktrace" user-defined command.
Diffstat (limited to '.gdbinit')
-rw-r--r-- | .gdbinit | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -273,6 +273,18 @@ document printzops 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 @@ document zmemcheck usage: zmemcheck [ptr]. if ptr is 0, all blocks will be listed. end - |