Skip to content

draekko/gdb

 
 

Apportable gdb

Apportable gdb is a fork of the Android NDK gdb. It also includes patches from the Fennec Android fork of gdb

The primary differentiator of the Apportable gdb fork is the addition of Objective C debugging support.

Building Production Version of gdb

  • git clone git@github.com:apportable/gdb.git
  • mkdir gdb_build
  • cd gdb_build
  • CFLAGS="-g -O2 -Wno-unused-value -Wno-unused-function" ~/gdb/configure --target=arm-elf-linux --enable-targets=all --with-python=yes
  • make
  • ls -l gdb/gdb

Building Debug Version of gdb

  • git clone git@github.com:apportable/gdb.git (if not already done)
  • mkdir gdb_debug
  • cd gdb_debug
  • CFLAGS="-g -Wno-unused-value -Wno-unused-function" ~/gdb/configure --target=arm-elf-linux --enable-targets=all --with-python=yes
  • make
  • ls -l gdb/gdb

Debugging gdb

  • Rebuild/debug your program ...
  • In another shell ps -ef | grep gdb
  • gdb attach {pid of built gdb}
  • set any breakpoints in gdb source
  • continue

About

Apportable gdb fork

Resources

License

GPL-2.0 and 3 other licenses found

Licenses found

GPL-2.0
COPYING
Unknown
COPYING.LIB
Unknown
COPYING.LIBGLOSS
Unknown
COPYING.NEWLIB

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 83.2%
  • Assembly 11.1%
  • Scheme 2.2%
  • C++ 1.1%
  • Shell 0.7%
  • Yacc 0.4%
  • Other 1.3%