当前位置: 代码迷 >> 综合 >> Python scripting is not supported in this copy of GDB
  详细解决方案

Python scripting is not supported in this copy of GDB

热度:81   发布时间:2024-02-21 15:01:22.0

OS:Kali2020.3
安装以下文件即可:

sudo apt-get install libc6-dbg gdb valgrind 

也可以下载gdb源码,编译安装的时候加上python支持,


./configure --prefix=/usr          \--with-system-readline \--with-python=/usr/bin/python3 &&
或者
./configure --with-python

参考:
https://www.tutorialspoint.com/gnu_debugger/installing_gdb.htm
http://www.linuxfromscratch.org/blfs/view/svn/general/gdb.html
https://stackoverflow.com/questions/4792483/how-to-import-gdb-in-python
https://wiki.python.org/moin/DebuggingWithGdb
https://github.com/cyrus-and/gdb-dashboard

  相关解决方案