Xinchen Hui
8e9805bb79
Now we can set the tsrm_ls manually
...
get(ZTS build):
(gdb) zbacktrace
You can't do that without a process to debug.
(gdb) set_ts 0x4112500
(gdb) zbacktrace
[0x2b232e83a1d8] call_user_func(array(2)[0x2b232e879528],
array(1)[0x2b232e878fa0]) /tmp/1.php:4
[0x7fffcb2efd80] A->__call("xxx", array(1)[0x2b232e878fa0])
2012-10-02 00:02:08 +08:00
Stanislav Malyshev
c95fd5f758
Merge branch 'pull-request/209' into PHP-5.4
...
* pull-request/209:
Eliminate process running requirement of dump_bt in .gdbinit
Add missing ____executor_globals in dump_bt if needed
Implemented FR #63188 (Display class name when debugging with gdb macro zbacktrace)
2012-09-30 20:31:36 -07:00
Reeze Xia
dedbba4e5b
Eliminate process running requirement of dump_bt in .gdbinit
...
Most of the time scope are avaible, but if not, it will be hard to get them,
since we can't call function if no proccess running. try to get class name
if we can.
2012-10-01 03:10:15 +08:00
Reeze Xia
752280d4d2
Add missing ____executor_globals in dump_bt if needed
2012-09-30 23:05:03 +08:00
Reeze Xia
613674c7a2
Implemented FR #63188 (Display class name when debugging with gdb macro zbacktrace)
2012-09-30 03:16:26 +08:00
Xinchen Hui
49e9d8f351
Fix wrong type in the marco of fetching thread globals
2012-03-11 15:12:28 +00:00
Xinchen Hui
ded11f4258
Use zbacktrace_ex instead of zbacktrace(actullay is dump_bt)
...
Use %p instead of "0x08x" (IMO this is used for print pointer, which, unfortunately, don't work under x64)
If there is any wrong, plz revert this, thanks
2011-12-06 12:32:59 +00:00
Xinchen Hui
17f5bf2ed9
Add zbacktrace_ex to .gdbinit which will print extra argument info than zbacktrace
...
Implement FR #60448
2011-12-06 09:56:01 +00:00
Derick Rethans
e4e7e2b8ee
- Added a function to print all CVs from the local scope.
2009-08-01 12:55:36 +00:00
Marcus Boerger
edc7e3054e
- MFH Add compiler globals as
2009-01-04 15:20:19 +00:00
Andrei Zmievski
ea74505927
Fix macros after GC patch.
2007-10-14 02:48:30 +00:00
Marcus Boerger
a4e3f29771
- MFH Add print_htptr, print_htstr
2007-05-20 21:46:17 +00:00
Michael Wallner
55f0daf65d
- treat interfaces and classes gracefully in print_inh
2006-05-05 15:49:41 +00:00
Michael Wallner
78d11cbc70
- add print_inh (prints a very simple class tree, ie. extensible)
...
- add print_pi (prints property_info)
- add ____print_str (print strings binary safely, for hash keys etc)
2006-05-05 15:14:37 +00:00
Marcus Boerger
6dcb27d35c
- MFH
2006-03-08 23:54:43 +00:00
Moriyoshi Koizumi
097bfda39d
- Add "zbacktrace" user-defined command.
2004-02-16 20:20:55 +00:00
Moriyoshi Koizumi
39742252b0
Fixed printzn part.
...
# please be more careful, sterling..
2003-05-05 11:43:50 +00:00
Moriyoshi Koizumi
b2ea7923c6
Fixed printzv macro
2003-05-05 11:39:40 +00:00
Sterling Hughes
7177ada146
some improvements to the debugging macros
2003-05-02 03:12:05 +00:00
Marcus Boerger
cfbf35a5f2
Support for ZTS
2003-04-06 20:19:52 +00:00
Moriyoshi Koizumi
33fb9a6cdb
Improved zmemcheck macro so it displays the size of each memory block too.
2003-04-06 18:40:19 +00:00
Moriyoshi Koizumi
e184a55bf4
Improved readability of zmemcheck output
2003-04-06 18:12:16 +00:00
Moriyoshi Koizumi
80bfd184eb
Added zmemcheck macro, which may help you examine the memory blocks being
...
handled by the memory manager.
2003-04-06 17:53:17 +00:00
Moriyoshi Koizumi
6e3faef231
Added various gdb macros to examine zval, znode, and HashTable
2003-03-30 17:45:33 +00:00
Thies C. Arntzen
c1706b50bf
add really nice dump_bt function for debugging in gdb
2003-02-14 12:04:03 +00:00