Bob Weinand
278adf99de
Fix parent command offsets
2015-03-21 23:19:12 +01:00
Bob Weinand
ea643307db
Put info to info and made print always output opcodes
2015-03-21 23:16:53 +01:00
Bob Weinand
2ed0085833
Add phpdbg -h for help
2015-03-21 23:16:53 +01:00
Bob Weinand
97887e3716
Stabilize (simple) watchpoints with IS_INDIRECT/IS_REFERENCE situations
2015-03-21 23:16:53 +01:00
Anatol Belski
49fdb8a91d
fix include
2015-03-19 22:33:14 +01:00
Anatol Belski
d3ab945d9c
using zend_stat_t
2015-03-19 22:33:13 +01:00
Nikita Popov
e39db5773d
Fix phpdbg
2015-03-17 22:59:11 +01:00
Xinchen Hui
50e4033475
Let phpdbg refused to be compiled with no CALL zend vm kind
2015-03-16 17:10:26 +08:00
Lior Kaplan
d79fe57216
Fix copyright years
2015-03-13 11:27:40 +02:00
Lior Kaplan
a4384bd3d4
s/PHP Version 5/PHP Version 7/g
...
Follow up for d0cb7153
2015-03-13 11:09:42 +02:00
Dmitry Stogov
ae26a51f0f
Added API function to call VM opcode handler in a portable way
2015-03-13 11:29:43 +03:00
Wei Dai
3f3e34040a
Fixed compile warnings
2015-03-09 21:25:43 +08:00
Reeze Xia
2a2c74997d
Now opened_path is a zend_string
2015-03-09 16:12:53 +08:00
Xinchen Hui
96f7a33df6
Temorary fix for phpdbg segfault while use zend_mm_set_custom_handlers
2015-03-09 11:19:05 +08:00
Dmitry Stogov
c2c78dc963
Added specialized versions of DO_FCALL handler:
...
DO_ICALL - for internal functions
DO_UCALL - for user functions
DO_FCALL_BY_NAME - plain, most probably user, funcstions (not methods)
2015-02-25 10:37:21 +03:00
Dmitry Stogov
e10e151e9b
Merged zend_array and HashTable into the single data structure.
...
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.
2015-02-13 22:20:39 +03:00
Reeze Xia
46d9572945
Fixed phpdbg zend_bailout error when compiling syntax error code
...
@krakjoe if there is something wrong, tell me plz
2015-02-13 17:47:47 +08:00
Xinchen Hui
3224459232
Merge branch 'master' of https://git.php.net/repository/php-src
2015-02-13 14:29:27 +08:00
Reeze Xia
39203441ed
Fixed phpdbg backtrace argument's name missing
2015-02-13 06:22:04 +00:00
Xinchen Hui
da7d94cd73
Merge branch 'PHP-5.6'
...
Conflicts:
ext/soap/soap.c
ext/standard/basic_functions.c
ext/zlib/zlib.c
2015-02-13 13:28:24 +08:00
Reeze Xia
6c9d75b44d
Add missing header inclusion
2015-02-10 22:30:54 +08:00
Joshua Rogers
305c03e757
Use correct deallocator in phpdbg
2015-01-27 09:28:54 +11:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Xinchen Hui
2193de0d18
Faster sorting algo
2015-01-14 18:02:41 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Xinchen Hui
b5b617674e
Micro optimaztion (yeah, I know compiler supposed to do that)
2014-12-22 00:10:46 -05:00
Anatol Belski
89f87576a1
various fixes for removing explicit tsrm_ls usage
2014-12-16 12:56:00 +01:00
Anatol Belski
9d70df24f8
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
C89 fixes
use portable struct stat
fixed macro va args expansion for vs
2014-12-16 12:22:27 +01:00
Anatol Belski
673003757f
C89 fixes
2014-12-16 12:20:59 +01:00
Anatol Belski
bee4a28433
use portable struct stat
2014-12-16 12:20:58 +01:00
Anatol Belski
f1d1185c64
fixed macro va args expansion for vs
2014-12-16 12:20:57 +01:00
Anatol Belski
e112f6a04e
second shot on removing TSRMLS_*
2014-12-14 14:07:59 +01:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Dmitry Stogov
14e29f5146
Reduced size of zend_op on 64-bit systems.
...
the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces the size of each opcode from 48 to 32 bytes (saves 16 bytes for each opcode, and applications use thousands of opoceds). This reduced the number of CPU cache misses by 12% and improved performance of real-life apps by 1-2%.
The patch affects how constants and jump targets are represented in VM during execution. Previously they were implemented as absolute 64-bit pointers. Now they are relative 32-bit offsets.
In run-time constant now should be accessed as:
RT_CONSTANT(op_array, opine->op1) instead of opline->op1.zv
EX_CONSTANT(opline->op1) instead of opline->op1.zv
Jump targets:
OP_JMP_ADDR(opline, opline->op2) instead of opline->op2.jmp_addr
The patch doesn't change zend_op representation for 32-bit systems. They still use absolute addresses. The compile-time representation is also kept the same.
2014-12-12 10:19:41 +03:00
Ferenc Kovacs
82979862ba
fix phpdbg, _zend_execute_data.scope was removed with 9a36cb1a07
2014-11-28 22:12:02 +01:00
Ferenc Kovacs
aef51819ce
typo fix
2014-11-26 18:41:50 +01:00
Ferenc Kovacs
0afc04b913
go back with phpdbg to the state of 5.6.3, reverting the controversial commits(remote debugging/xml protocol)
2014-11-26 18:38:36 +01:00
Veres Lajos
06fdf359e3
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-23 14:52:47 -08:00
Veres Lajos
4dc994571d
typo fixes - https://github.com/vlajos/misspell_fixer
...
Conflicts:
ext/ftp/ftp.h
ext/pcre/pcrelib/pcre_printint.c
ext/pcre/pcrelib/sljit/sljitLir.c
ext/pcre/pcrelib/sljit/sljitLir.h
ext/pcre/pcrelib/sljit/sljitNativeARM_32.c
ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c
ext/pgsql/pgsql.c
ext/phar/func_interceptors.c
ext/soap/soap.c
ext/standard/image.c
2014-11-23 14:33:43 -08:00
Bob Weinand
113f1fd6d5
Temporarily disable wait/xml protocol...
2014-10-30 23:09:57 +01:00
Ferenc Kovacs
12fba83c48
Merge branch 'PHP-5.6'
...
* PHP-5.6:
don't try to send in the test results until we restored qa.php.net
Fix uninitialized value...
Don't treat warnings as failures in the junit output
2014-10-30 18:19:48 +01:00
Bob Weinand
b9d1dc329f
Merge phpdbg into PHP-5.6
2014-10-30 13:17:58 +01:00
Anatol Belski
d77ce31763
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix output globals importing
export output globals
use portable strndup implementation
unix sockets aren't available on windows
dll export APIs needed by phpdbg
fix sapi/phpdbg/config.w32
Don't treat warnings as failures in the junit output
2014-10-29 20:04:56 +01:00
Anatol Belski
fc904569ea
fix output globals importing
2014-10-29 20:03:28 +01:00
Anatol Belski
4b8f411d31
use portable strndup implementation
2014-10-29 19:49:20 +01:00
Anatol Belski
f842b8f4be
unix sockets aren't available on windows
2014-10-29 19:39:46 +01:00
Anatol Belski
79a4339f1b
fix sapi/phpdbg/config.w32
2014-10-29 19:28:21 +01:00
Bob Weinand
3e9138e6b5
Merge remote-tracking branch 'origin/PHP-5.6'
2014-10-29 11:44:46 +01:00
Bob Weinand
68b5dd2ba9
Merge phpdbg into PHP-5.6
2014-10-29 11:43:01 +01:00