Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

kbandla/gdb-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Scriping GDB using Python

From GDB>=7.0, you can script gdb using python in a stable way. 
Here, you will find notes on gdb-python.

Linux:
I have tried this on Linux and it works fine. 
You can find the compiled binary in bin/linux

OS X:
It did compile on OS X, but I'm not yet sure how well it works on ObjC files.
You can find the compiled gdb binary in bin/osx 
Apple has their own fork, but that does not have python support.
http://www.opensource.apple.com/source/gdb/

You can download gdb from : http://ftp.gnu.org/gnu/gdb/

Installing:
You will need to configure gdb with python support:
./configure --with-python=/usr/local
make && make install

About

Scriping GDB using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published