Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
# This file:
#   http://anggtwu.net/.gdbinit.html
#   http://anggtwu.net/.gdbinit
#          (find-angg ".gdbinit")
# Author: Eduardo Ochs <eduardoochs@gmail.com>
# Most of this file is from 2000.
#
# (defun e () (interactive) (find-angg ".gdbinit"))


# See: (find-prepared-intro)
#      (find-angg ".zshrc" "ee")
#      (find-angg ".zshrc" "ee" "function ee () { set -v; . $EE$*; set +v; }")
define ee
  source ~/.eev/ee.gdb
end

# (find-gdbnode "Print Settings" "set print pretty on")
# (find-gdbnode "Print Settings" "set print object on")
# (find-gdbnode "Print Settings" "set print vtbl on")
# (find-gdbnode "Screen Size" "height unlimited")
# (find-gdbnode "Screen Size" "height unlimited" "or zero")
set print pretty on
set print object on
set print vtbl on
set height 0



# (find-gdbnode "Top")
# (find-gdbnode "Index")
# (find-gdbnode "Running")
# (find-gdbnode "Set Breaks")
# (find-gdbnode "Print Settings")
# (find-gdbnode "Symbols" "ptype")
# (find-gdbnode "Stack")
# (find-gdbnode "Calling")
# (find-gdbnode "Command Files" "`source FILENAME'")
# (find-gdbnode "Source Path")


# Note that the gdb manual mentions some key commands that would be
# useful to have, but that don't work by default:
#
# (find-gdbnode "Emacs" "`M-s'")
# (find-e20node "Commands of GUD")
#
# One way to make them work is to add this to your .emacs:
#
# (easy-mmode-define-minor-mode
#  gdbk-mode
#  "GDB keys mode.\nUse `C-c C-t' and `C-c C-d' to set and delete breakpoints.
# See (find-e20node \"Commands of GUD\")"
#  nil
#  " gdbk"
#  '(("\M-s" . gud-step)
#    ("\M-n" . gud-next)
#    ("\M-c" . gud-cont)
#    ("\M-f" . gud-finish)))
#
# and to use lines like:
#
# (progn (eeg-bounded) (gdb "gdb demo3b") (gdbk-mode))
#
# inside `eeg-bounded' blocks to invoke gdb; then the short key
# commands will work inside the gdb/gud buffer in Emacs.