Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-7.4' into PHP-8.0 | Nikita Popov | 2021-01-05 | 1 | -1/+2 |
|\ | | | | | | | | | * PHP-7.4: gdbinit: use ____print_str to print htable keys | ||||
| * | gdbinit: use ____print_str to print htable keys | Dylan K. Taylor | 2021-01-05 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | I noticed this problem while dumping the contents of EG(function_table), where keys for closures start with a null byte. printf interprets this as a zero-length string and emits nothing. This allows the key to be rendered properly in readable form. Closes GH-6577. | ||||
* | | Renumber zval types, clarify allowed overlap | Nikita Popov | 2020-01-07 | 1 | -14/+5 |
| | | | | | | | | | | | | | | | | Make it clear that types used for type declarations can overlap with the rest, and can also overlap in MAY_BE space. This makes things more robust against the addition of new primitive types. | ||||
* | | Change representation of zend_type from type code to MAY_BE_* mask | Nikita Popov | 2019-09-23 | 1 | -13/+10 |
|/ | | | | | | | | | | | | | This switches zend_type from storing a single IS_* type code to storing a MAY_BE_* type mask. Right now most code still assumes that there is only a single type in the mask (or two together with MAY_BE_NULL). But this will make it a lot simpler to introduce union types. An additional advantage (and why I'm doing this separately), is that a number of special cases no longer need to be handled separately: We can do a single mask & (1 << type) check to handle all simple types, booleans (true|false) and null. | ||||
* | Sync types in .gdbinit, improve property dumping | Nikita Popov | 2019-02-26 | 1 | -14/+25 |
| | | | | | If an object doesn't have a property table, we need to go through the property into table and read the corresponding slots. | ||||
* | Trim trailing whitespace in source code files | Peter Kokot | 2018-10-13 | 1 | -10/+10 |
| | |||||
* | Adds print_global_vars to gdbinit | Mitch Hagstrand | 2018-05-26 | 1 | -0/+12 |
| | |||||
* | Fixed print_const_table function and zval types in ____printzv_contents | Mitch Hagstrand | 2018-02-15 | 1 | -42/+32 |
| | | | | | | 1. Fixed print_const_table to work in ZE3 2. Removed ____print_const_table to use more generic ____print_ht 3. Fixed up zval types in ____printzv_contents | ||||
* | Enhancements and fixes for print_pi in gdbinit | Mitch Hagstrand | 2018-02-10 | 1 | -2/+11 |
| | | | | | 1) Outputs the default value and the offset of a property 2) Fixed output of property flags | ||||
* | Removing zmemcheck from .gdbinit | Mitch Hagstrand | 2017-01-18 | 1 | -73/+0 |
| | | | | It doesn't seem to make sense anymore | ||||
* | Fixes in .gdbinit for ZE 3 | Mitch Hagstrand | 2017-01-17 | 1 | -12/+33 |
| | | | | | | 1. Fixed print_pi function 2. Fixed printing properties in ____printzv_contents 3. Added optional max length parameter in ____print_str | ||||
* | Fixed bug #72680 gdbinit print_cvs not prepared for PHP 7 | Mitch Hagstrand | 2017-01-12 | 1 | -15/+26 |
| | |||||
* | Add print zend string function to gdbinit | Mitch Hagstrand | 2017-01-09 | 1 | -0/+12 |
| | |||||
* | Doubles are not refcounted | Hannes Magnusson | 2015-09-01 | 1 | -1/+1 |
| | |||||
* | Merge branch 'patch-gdbinit' of https://github.com/adsr/php-src | Xinchen Hui | 2015-08-18 | 1 | -1/+1 |
|\ | |||||
| * | Prevent warning when printing arrays in gdb | Adam Saponara | 2015-08-14 | 1 | -1/+1 |
| | | |||||
* | | fix printzv (refcount) | Michael Wallner | 2015-08-18 | 1 | -1/+1 |
|/ | |||||
* | Fixed dumpbt | Xinchen Hui | 2015-08-14 | 1 | -1/+1 |
| | |||||
* | Fixed print_ht | Xinchen Hui | 2015-06-15 | 1 | -1/+1 |
| | |||||
* | Fixed dump_bt and printzv | Dmitry Stogov | 2015-02-09 | 1 | -2/+2 |
| | |||||
* | Fix incdec of referenced properties | Nikita Popov | 2014-10-12 | 1 | -2/+2 |
| | | | | | | | | | | | I thought these SEPARATE_ZVAL_IF_NOT_REF usages were safe at first, because incdec op supports reference variables. However this violates the constraint that IS_TMP_VAR variables may not be references (which is an issue if you use the result of the incdec op). Still need to fix the cases where read_property/write_property is used. | ||||
* | it's good for gc debuging | Xinchen Hui | 2014-09-16 | 1 | -0/+25 |
| | |||||
* | Fixed zbacktrace | Xinchen Hui | 2014-08-28 | 1 | -3/+11 |
| | |||||
* | Make gdb dumpbt work again (at least partially) | Nikita Popov | 2014-07-08 | 1 | -89/+65 |
| | |||||
* | Improve gdb ht and zval dumps | Nikita Popov | 2014-05-29 | 1 | -78/+46 |
| | |||||
* | A few more fixes and improvements for gdbinit | Nikita Popov | 2014-05-29 | 1 | -7/+8 |
| | |||||
* | Clamb gdb string output at 256 chars | Nikita Popov | 2014-05-28 | 1 | -1/+4 |
| | |||||
* | Fix parts of .gdbinit | Nikita Popov | 2014-05-25 | 1 | -48/+38 |
| | |||||
* | Update .gdbinit | Xinchen Hui | 2014-02-20 | 1 | -113/+138 |
| | |||||
* | The printf modifier for a double is just %f | Rasmus Lerdorf | 2013-04-01 | 1 | -2/+2 |
| | |||||
* | Now we can set the tsrm_ls manually | Xinchen Hui | 2012-10-02 | 1 | -3/+16 |
| | | | | | | | | | | | 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]) | ||||
* | Merge branch 'pull-request/209' into PHP-5.4 | Stanislav Malyshev | 2012-09-30 | 1 | -8/+49 |
|\ | | | | | | | | | | | | | * 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) | ||||
| * | Eliminate process running requirement of dump_bt in .gdbinit | Reeze Xia | 2012-10-01 | 1 | -13/+24 |
| | | | | | | | | | | | | 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. | ||||
| * | Add missing ____executor_globals in dump_bt if needed | Reeze Xia | 2012-09-30 | 1 | -1/+2 |
| | | |||||
| * | Implemented FR #63188 (Display class name when debugging with gdb macro ↵ | Reeze Xia | 2012-09-30 | 1 | -8/+37 |
|/ | | | | zbacktrace) | ||||
* | Fix wrong type in the marco of fetching thread globals | Xinchen Hui | 2012-03-11 | 1 | -2/+2 |
| | |||||
* | Use zbacktrace_ex instead of zbacktrace(actullay is dump_bt) | Xinchen Hui | 2011-12-06 | 1 | -77/+57 |
| | | | | | | 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 | ||||
* | Add zbacktrace_ex to .gdbinit which will print extra argument info than ↵ | Xinchen Hui | 2011-12-06 | 1 | -1/+72 |
| | | | | | | | zbacktrace Implement FR #60448 | ||||
* | - Added a function to print all CVs from the local scope. | Derick Rethans | 2009-08-01 | 1 | -0/+19 |
| | |||||
* | - MFH Add compiler globals as | Marcus Boerger | 2009-01-04 | 1 | -0/+3 |
| | |||||
* | Fix macros after GC patch. | Andrei Zmievski | 2007-10-14 | 1 | -2/+2 |
| | |||||
* | - MFH Add print_htptr, print_htstr | Marcus Boerger | 2007-05-20 | 1 | -10/+44 |
| | |||||
* | - treat interfaces and classes gracefully in print_inh | Michael Wallner | 2006-05-05 | 1 | -5/+43 |
| | |||||
* | - add print_inh (prints a very simple class tree, ie. extensible) | Michael Wallner | 2006-05-05 | 1 | -7/+80 |
| | | | | | | - add print_pi (prints property_info) - add ____print_str (print strings binary safely, for hash keys etc) | ||||
* | - MFH | Marcus Boerger | 2006-03-08 | 1 | -72/+110 |
| | |||||
* | - Add "zbacktrace" user-defined command. | Moriyoshi Koizumi | 2004-02-16 | 1 | -1/+12 |
| | |||||
* | Fixed printzn part. | Moriyoshi Koizumi | 2003-05-05 | 1 | -3/+3 |
| | | | | | # please be more careful, sterling.. | ||||
* | Fixed printzv macro | Moriyoshi Koizumi | 2003-05-05 | 1 | -2/+2 |
| | |||||
* | some improvements to the debugging macros | Sterling Hughes | 2003-05-02 | 1 | -31/+75 |
| | |||||
* | Support for ZTS | Marcus Boerger | 2003-04-06 | 1 | -17/+36 |
| |