CGDB
A curses debugger

Download a CGDB binary
You may be able to get a binary of CGDB from your favorite distribution. Currently, the below distribution's offer packaged binaries of CGDB.

Debian CGDB binary

You can install CGDB in debian using the unstable distribution.

Cygwin CGDB binary

CGDB is packaged in Cygwin. However, it is not in the default list of server's that Cygwin offers. Instead you will have to add http://rlc.unsane.co.uk/ to your list of servers. Then you should be able to download the latest Cygwin binary. Ronald Landheer-Cieslak maintains the package and can be reached at blytkerchan at users.sourceforge.net.

Note that this server also contains experimental software for Cygwin that should not be used as part of your normal Cygwin distribution. When using this server, make sure to only use the "current" versions of the packages on it.

Installing CGDB from sources

CGDB could not have been written without the use of other libraries. CGDB depends on

  1. CGDB depends on readline-development-4.2 or greater.

    If you don't have this, you might get a link error that looks something like this, 'undefined symbol, rl_set_prompt'.

  2. CGDB depends on ncurses/curses.

    The version number is not known. I have used libncurses.so.5 successfully.

  3. If you decide to modify the tokenizer library or the config file module, you will need to have flex installed.

    I have used flex 2.5.4 to build cgdb.

  4. CGDB uses autoconf/automake to build its configure scripts and makefiles. So, if you change any of the autoconf/automake files, you will need this software installed.
    • aclocal (GNU automake) 1.7.9
    • autoconf (GNU Autoconf) 2.59
    • libtool (GNU libtool) 1.5.6
    • m4 (GNU m4) 1.4.2
Latest version: cgdb-0.6.2.tar.gz - ChangeLog - NEWS

Anonymous CVS

The most recent changes to CGDB can be found by checking out a copy of the current CVS tree. You may want to try this to see if a bug is resolved before reporting the error. It should be noted that the CVS tree is not guaranteed to be stable and is not tested as well as the latest tarball probably is. To get a copy of the CVS tree, run the following commands:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cgdb login
(blank password)

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cgdb co cgdb

If you don't have CVS, visit their home page.

©2002, 2003, 2004, 2005 CGDB development team. Valid HTML 4.01!