Skip to content
This repository

A module to interact with GDB debugger

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 gdblib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 COPYING
Octocat-spinner-32 INSTALL
Octocat-spinner-32 README.md
Octocat-spinner-32 setup.py
README.md

Gdb lib

Gdb lib is a python library aimed to work as a simple interface for gdb.

Contact

Author: Fernando Castillo skibyte@gmail.com

Installation

See INSTALL file for details

Usage

    from gdblib import GDB

    gdb = GDB() 
    gdb.connectApp('application', 'application arguments')
    gdb.addBreakpoint('main.c', 54)
    gdb.deleteBreakpoint('main.c', 54)
    breakpoints = gdb.getBreakpoins()
    gdb.addNewFileLocationListener(listener)
    gdb.addStandardOutputListener(listener)
    gdb.run()
    gdb.step()
    gdb.next()
    gdb.disconnect()

Todo

  • Add attach process support
  • Add core support
  • Implement more gdb commands
  • Any good suggestion you have

License

Gdb lib is licenced under a LGPL v3 license. Please see COPYING file for details.

Report a bug

If you find a bug in gdblib please let me know in the following page: https://github.com/skibyte/gdblib/issues

Something went wrong with that request. Please try again.