Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace zend_bool uses with bool | Nikita Popov | 2021-01-15 | 1 | -5/+5 |
| | | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias. | ||||
* | Merge branch 'PHP-7.4' | Christoph M. Becker | 2020-06-02 | 1 | -5/+1 |
|\ | | | | | | | | | * PHP-7.4: Fix #73927: phpdbg fails with windows error prompt at "watch array" | ||||
| * | Fix #73927: phpdbg fails with windows error prompt at "watch array" | Christoph M. Becker | 2020-06-02 | 1 | -5/+1 |
| | | | | | | | | | | | | We expect zvals, so we should request zvals. We also suppress spurious watchpoint removal notices. | ||||
* | | Merge branch 'PHP-7.4' | Christoph M. Becker | 2020-05-26 | 1 | -2/+5 |
|\ \ | |/ | | | | | | | | | | | | | * PHP-7.4: Enable phpdbg tests on AppVeyor Make phpdbg test portable Fix several mostly Windows related phpdbg bugs Fix #73926: phpdbg will not accept input on restart execution | ||||
| * | Fix several mostly Windows related phpdbg bugs | Christoph M. Becker | 2020-05-26 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Properly initialize PHPDBG_G(watch_tmp) Otherwise that may cause segfaults in ZTS builds. * Deactivate potentially remaining watchpoints after REPL Otherwise the memory could still be protected, resulting in segfaults during shutdown. * NULL zend_handlers_table after freeing As of commit 4130fe4[1], the `zend_handlers_table` is explicitly freed in the `zend_vm_dtor()`. Since phpdbg (and maybe some other SAPIs) may restart the engine afterwards, we have to make sure that the table is also NULLed. * Only set context option if there is a context In other words, we must not follow the null pointer. * Cater to file handles without attached console File handles do not necessarily have an attached console (for instance, pipes do not), in which case `GetConsoleScreenBufferInfo()` fails. In this case we set a default value (`40`) for lines like on other systems. [1] <http://git.php.net/?p=php-src.git;a=commit;h=4130fe437a5db7ead1444d3748bd0fbad9829cb2> | ||||
* | | Remove return value from llist apply functions | Nikita Popov | 2020-04-15 | 1 | -1/+0 |
| | | | | | | | | Unlike the hash apply functions, these do not return int. | ||||
* | | Fix some -Wold-style-declaration compiler warnings | George Peter Banyard | 2020-02-05 | 1 | -2/+2 |
| | | |||||
* | | Remove mention of PHP major version in Copyright headers | Gabriel Caruso | 2019-09-25 | 1 | -2/+0 |
|/ | | | | Closes GH-4732. | ||||
* | Don't use zmm for PHPDBG_G(exec) | Nikita Popov | 2019-06-27 | 1 | -1/+1 |
| | | | | | Uses system allocator when backing up settings ... let's avoid unnecessary confusion. | ||||
* | Fix potentially uninitialized warnings in phpdbg | Nikita Popov | 2019-04-12 | 1 | -1/+1 |
| | |||||
* | Remove yearly range from copyright notice | Zeev Suraski | 2019-01-30 | 1 | -1/+1 |
| | |||||
* | Introduce get_properties_for() handler | Nikita Popov | 2018-10-10 | 1 | -7/+3 |
| | | | | | This handler allows getting the object properties for a particular purpose, such as array casting, serialization, etc. | ||||
* | Change zend_lookup_class_ex() and zend_fetch_class_by_name() prototypes to ↵ | Dmitry Stogov | 2018-08-22 | 1 | -1/+1 |
| | | | | accept optional lower-case class name as zend_string*, instead of zval*. | ||||
* | Changed php_add[c]slashes prototypes (removed should_free argument) | Dmitry Stogov | 2018-06-29 | 1 | -1/+1 |
| | |||||
* | Moved "zval.u2.cache_slot" into free room of "zend_op" | Dmitry Stogov | 2018-02-05 | 1 | -3/+3 |
| | |||||
* | Changed CATCH instruction format (extended_value moved into op2, op2 into ↵ | Dmitry Stogov | 2018-01-31 | 1 | -4/+8 |
| | | | | result, result into extended_value) | ||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Always use IS_CONSTANT_AST (IS_CONSTANT is removed). | Dmitry Stogov | 2017-10-10 | 1 | -5/+10 |
| | |||||
* | Refactored recursion pretection | Dmitry Stogov | 2017-10-06 | 1 | -7/+8 |
| | |||||
* | Changed the way VM accesses constant operands in 64-bit builds. | Dmitry Stogov | 2017-10-04 | 1 | -3/+3 |
| | |||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-7.0' into PHP-7.1 | Bob Weinand | 2016-11-13 | 1 | -1/+1 |
|\ | |||||
| * | Properly escape all filenames when exporting breakpoints | Bob Weinand | 2016-11-13 | 1 | -1/+1 |
| | | |||||
* | | Fix searching for catch blocks | Bob Weinand | 2016-10-16 | 1 | -1/+1 |
| | | | | | | | | Since PHP-7.1 catch blocks are addressed with relative byte difference between two catch blocks as opposed to absolute opcode number | ||||
* | | Rewrite watchpoints to be much more stable | Bob Weinand | 2016-07-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This mainly involves a separate abstraction layer for elements (e.g. $a->b) and watchpoints (on pointer of the Bucket for example). Also better comparison handling (value backup vs. page dumps). It is not yet finished (there are sometimes false positives announced and names not yet perfect), but the functionality is working and not crashing as far as I have tested. Future scope is also relative watchpoints, e.g. "w $this->val expression()" which does not have the symbol tables as basis, but the value (in this example: return value of expression()) as basis. | ||||
* | | Print .0 in phpdbg opcode dumps | Nikita Popov | 2016-03-25 | 1 | -0/+12 |
|/ | |||||
* | Fix bug #71575 removing extra semicolons outside macros | James Titcumb | 2016-03-03 | 1 | -1/+1 |
| | |||||
* | Format string fixes | Nikita Popov | 2016-02-14 | 1 | -7/+7 |
| | | | | | Conflicts: ext/pgsql/pgsql.c | ||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | |||||
* | | - Implemented output paging | Felipe Pena | 2015-10-18 | 1 | -0/+18 |
| | | |||||
* | | Fixed bug #70214 (FASYNC possibly not defined) | Bob Weinand | 2015-08-08 | 1 | -6/+11 |
| | | |||||
* | | Remove -Wunused-result warnings | Bob Weinand | 2015-07-27 | 1 | -6/+3 |
| | | |||||
* | | Cleanup shutdown, enable proper memory leak displaying | Bob Weinand | 2015-07-24 | 1 | -6/+10 |
| | | | | | | | | phpdbg should not memory leak... | ||||
* | | Fix misbehaviors with uncaught exceptions and finally or eval | Bob Weinand | 2015-07-20 | 1 | -3/+3 |
| | | |||||
* | | Switch asprintf to spprintf in phpdbg opcode dump | Nikita Popov | 2015-07-17 | 1 | -13/+17 |
| | | | | | | | | | | | | | | Also use %td where appropriate, a lot of the values are ptrdiff based. Fix a leak in phpdbg_frame.c. | ||||
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -12/+12 |
| | | | | | | | | semantick changes). | ||||
* | | Make backtraces *much* more readable | Bob Weinand | 2015-06-29 | 1 | -0/+60 |
| | | |||||
* | | Fix phpdbg class fetch / method opcodes | Bob Weinand | 2015-05-27 | 1 | -1/+1 |
| | | |||||
* | | Also consider specific catches when checking for uncaught | Bob Weinand | 2015-04-22 | 1 | -7/+29 |
| | | |||||
* | | Break on uncaught exceptions in current frame in phpdbg | Bob Weinand | 2015-04-22 | 1 | -2/+2 |
| | | |||||
* | | Add next command / Fix recursion/exceptions with u/F/L | Bob Weinand | 2015-04-21 | 1 | -0/+22 |
| | | |||||
* | | Stabilize watchpoints | Bob Weinand | 2015-04-19 | 1 | -8/+56 |
| | | |||||
* | | Stabilize (simple) watchpoints with IS_INDIRECT/IS_REFERENCE situations | Bob Weinand | 2015-03-21 | 1 | -1/+1 |
| | | |||||
* | | s/PHP Version 5/PHP Version 7/g | Lior Kaplan | 2015-03-13 | 1 | -1/+1 |
| | | | | | | | | Follow up for d0cb7153 | ||||
* | | Merge branch 'PHP-5.6' | Xinchen Hui | 2015-02-13 | 1 | -5/+1 |
|\ \ | |/ | | | | | | | | | | | Conflicts: ext/soap/soap.c ext/standard/basic_functions.c ext/zlib/zlib.c | ||||
| * | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
| * | go back with phpdbg to the state of 5.6.3, reverting the controversial ↵ | Ferenc Kovacs | 2014-11-26 | 1 | -303/+116 |
| | | | | | | | | commits(remote debugging/xml protocol) | ||||
* | | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -41/+41 |
| | |