Bug #70008 [NEW]: .gdbinit print_cvs needs updating for EX_CV_NUM()

From: Date: Tue, 07 Jul 2015 09:35:43 +0000
Subject: Bug #70008 [NEW]: .gdbinit print_cvs needs updating for EX_CV_NUM()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194167@lists.php.net to get a copy of this message
From: kenny at kennynet dot co dot uk Operating system: Debian wheezy PHP version: 5.5.26 Package: phpdbg Bug Type: Bug Bug description:.gdbinit print_cvs needs updating for EX_CV_NUM() Description: ------------ Hi, In PHP 5.5+ internal changes lists:- """ Removed the execute_data->CVs field. The VM compiled variables are always allocated immediately after the execute_data structure, and are now accessed by the offset from the execute_data base pointer instead of via execute_data->CVs. You can use the EX_CV_NUM() macro to access compiled variables by number. """ But the .gdbinit file has not been updated and is still trying to use the CVs member in print_cvs Test script: --------------- $ gdb -p <php pid> (gdb) source .gdbinit (gdb) print_cvs Expected result: ---------------- The compiled variables are displayed. Actual result: -------------- (gdb) print_cvs There is no member named CVs. -- Edit bug report at https://bugs.php.net/bug.php?id=70008&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70008&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70008&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70008&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70008&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70008&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70008&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70008&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70008&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70008&r=support Expected behavior: https://bugs.php.net/fix.php?id=70008&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70008&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70008&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70008&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70008&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70008&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70008&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70008&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70008&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70008&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70008&r=mysqlcfg

« previous php.bugs (#194167) next »