我已经使用gdb php并运行/var/www/html/demo.php
我已经解决了问题,但找不到,gdb,有人可以给我一些帮助吗?
$ gdb php72
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
php72: No such file or directory.
(gdb) file /var/www/html/demo.php
"/var/www/html/demo.php": not in executable format: File format not recognized
(gdb) run /var/www/html/demo.php
Starting program: /var/www/html/demo.php
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)
<http://www.gnu.org/software/gdb/bugs/>...
php72: No such file or directory.
(gdb) file /var/www/html/demo.php
"/var/www/html/demo.php": not in executable format: File format not recognized
(gdb) run /var/www/html/demo.php
Starting program: /var/www/html/demo.php
No executable file specified.
Use the "file" or "exec-file" command.