Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A module to interact with GDB debugger
Python C Shell
branch: master

Merge branch 'master' into develop

Conflicts:
	gdblib/completevisitor.py
	gdblib/gdbtestcase.py
latest commit 14d9c19f1f
@skibyte authored

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.