GDB
From ITRS
Contents |
Tutorials
- (中文)Tetralet's Guide
- (中文)jserv's Guide part I part II
- (中文)Cyril's Guide
- vim plugin: pyclewn
Remote Debugging
- Remote Debugging with gdbserver: GDB remote debugging basics by Kevin Buettner, Aug 2010
- (Chinese)instructions
- build cross-compiled gdb server
Implementing the GDB remote debugging protocol
- GDB: Implementing a Remote Stub (Sample Server) msp430simu/gdbserver.py (Sample Client) kemufuzzer: gdb.py
- Howto: GDB Remote Serial Protocol by Jeremy Bennett of Embecosm, Nov 2008
- gdbstubs.sf.net:gdb.c
- yari MIPS simulator gdb-stub.c
- es-operating-system: gdbstub.cpp
- bochs: gdbstub.cc
Python Scripting
(Google code search for "gdb lang:^python$")
- Tutorial(API Reference)
- cpython/Tools/gdb/libpython.py
- glib/glib.py
- v8: gdb-v8-support.py
- http://trac.webkit.org/wiki/GDB
- mono-gdb.py (Mono: Debugging with GDB)
- https://fedorahosted.org/gdb-heap/
- archer-mozilla: "full of magic debugging help for spidermonkey in gdb"
- python-gaudy: unified mozilla JS/C++ backtraces, colorized backtraces, colorized source listing
Machine Interface (GDB MI)
Used by Eclipse CDT, Qt Creator etc. There are multiple protocol versions. No known good reusable client library.
JIT
- JIT Interface: used by LLVM, v8, luajit, Mono, qemu tcg.
Implementation
See Also
- System Programming#Debuggers
- Windows Programming
- Emulators
- http://sourceware.org/gdb/wiki/HomePage
- python-ptrace