File: gud.el.html

The ancestral gdb.el was by W. Schelter <wfs@rascal.ics.utexas.edu>.

It was later rewritten by rms. Some ideas were due to Masanobu. Grand Unification (sdb/dbx support) by Eric S. Raymond <esr@thyrsus.com> Barry Warsaw <bwarsaw@cen.com> hacked the mode to use comint.el. Shane Hartman
<shane@spr.com> added support for xdb (HPUX debugger). Rick Sladkey
<jrs@world.std.com> wrote the GDB command completion code. Dave Love
<d.love@dl.ac.uk> added the IRIX kluge, re-implemented the Mips-ish variant
and added a menu. Brian D. Carlstrom <bdc@ai.mit.edu> combined the IRIX kluge with the gud-xdb-directories hack producing gud-dbx-directories. Derek L. Davies <ddavies@world.std.com> added support for jdb (Java
debugger.) Jan Nieuwenhuizen added support for the Guile REPL (Guile
debugger).

Defined variables (58)

gdb-script-mode-abbrev-tableAbbrev table for ‘gdb-script-mode’.
gdb-script-mode-hookHook run after entering GDB-Script mode.
gdb-script-mode-mapKeymap for ‘gdb-script-mode’.
gdb-script-mode-syntax-tableSyntax table for ‘gdb-script-mode’.
gud-chdir-before-runNon-nil if GUD should ‘cd’ to the debugged executable.
gud-dbx-directoriesA list of directories that dbx should search for source code.
gud-dbx-repeat-mapKeymap to repeat ‘dbx’ stepping instructions ‘C-x C-a C-n n n’.
gud-dbx-use-stopformat-pNon-nil to use the dbx feature present at least from Irix 6.1
gud-filter-defer-flagNon-nil means don’t process anything from the debugger right now.
gud-filter-pending-textNon-nil means this is text that has been saved for later in ‘gud-filter’.
gud-gdb-completion-functionCompletion function for GDB commands.
gud-gdb-fetched-stack-frameStack frames we are fetching from GDB.
gud-gdb-repeat-mapKeymap to repeat ‘gud-gdb’ stepping instructions ‘C-x C-a C-n n n’.
gud-gud-gdb-command-nameDefault command to run an executable under GDB in text command mode.
gud-guiler-command-nameFile name for executing the Guile debugger.
gud-guiler-repeat-mapKeymap to repeat ‘guiler’ stepping instructions ‘C-x C-a C-n n n’.
gud-irix-pNon-nil to assume the interface appropriate for IRIX dbx.
gud-jdb-class-source-alistAssociation list of fully qualified class names and source files.
gud-jdb-classpathJava/jdb classpath directories list.
gud-jdb-classpath-stringHolds temporary classpath values.
gud-jdb-command-nameCommand that executes the Java debugger.
gud-jdb-directoriesA list of directories that gud jdb should search for source code.
gud-jdb-historyHistory of argument lists passed to jdb.
gud-jdb-repeat-mapKeymap to repeat ‘jdb’ stepping instructions ‘C-x C-a C-n n n’.
gud-jdb-source-filesList of the java source files for this debugging session.
gud-jdb-sourcepathDirectory list provided by an (optional) "-sourcepath" option to jdb.
gud-jdb-use-classpathIf non-nil, search for Java source files in classpath directories.
gud-key-prefixPrefix of all GUD commands valid in C buffers.
gud-last-speedbar-stackframeDescription of the currently displayed GUD stack.
gud-marker-acc-max-lengthMaximum number of debugger output characters to keep.
gud-menu-mapMenu for ‘gud-mode’.
gud-minibuffer-local-mapKeymap for minibuffer prompting of gud startup command.
gud-minor-mode-mapMap used in visited files.
gud-mips-pNon-nil to assume the MIPS/OSF dbx conventions (argument ‘-emacs’).
gud-mode-abbrev-tableAbbrev table for ‘gud-mode’.
gud-mode-hookHook run after entering Debugger mode.
gud-mode-map‘gud-mode’ keymap.
gud-mode-syntax-tableSyntax table for ‘gud-mode’.
gud-pdb-command-nameCommand that executes the Python debugger.
gud-pdb-repeat-mapKeymap to repeat ‘pdb’ stepping instructions ‘C-x C-a C-n n n’.
gud-perldb-command-nameDefault command to execute a Perl script under debugger.
gud-perldb-repeat-mapKeymap to repeat ‘perldb’ stepping instructions ‘C-x C-a C-n n n’.
gud-runningNon-nil if debugged program is running.
gud-sdb-needs-tagsIf nil, we’re on a System V Release 4 and don’t need the tags hack.
gud-sdb-repeat-mapKeymap to repeat ‘sdb’ stepping instructions ‘C-x C-a C-n n n’.
gud-speedbar-key-mapKeymap used when in the buffers display mode.
gud-speedbar-menu-itemsAdditional menu items to add to the speedbar frame.
gud-target-nameThe apparent name of the program being debugged in a gud buffer.
gud-tooltip-dereferenceNon-nil means print expressions with a ‘*’ in front of them.
gud-tooltip-displayList of forms determining where GUD tooltips are displayed.
gud-tooltip-echo-areaUse the echo area instead of frames for GUD tooltips.
gud-tooltip-eventThe mouse movement event that led to a tooltip display.
gud-tooltip-modeNon-nil if Gud-Tooltip mode is enabled.
gud-tooltip-mode-hookHook run after entering or leaving ‘gud-tooltip-mode’.
gud-tooltip-modesList of modes for which to enable GUD tooltips.
gud-tooltip-mouse-motions-activeLocally t in a buffer if tooltip processing of mouse motion is enabled.
gud-xdb-directoriesA list of directories that xdb should search for source code.
gud-xdb-repeat-mapKeymap to repeat ‘xdb’ stepping instructions ‘C-x C-a C-n n n’.

Defined functions (88)

dbx(COMMAND-LINE)
gdb-script-beginning-of-defun()
gdb-script-end-of-defun()
gdb-script-font-lock-syntactic-face(STATE)
gdb-script-indent-line()
gdb-script-mode()
gdb-script-skip-to-head()
gud-backward-sexp()
gud-basic-call(COMMAND)
gud-call(FMT &optional ARG)
gud-common-init(COMMAND-LINE MASSAGE-ARGS MARKER-FILTER &optional FIND-FILE)
gud-dbx-marker-filter(STRING)
gud-dbx-massage-args(FILE ARGS)
gud-def(FUNC CMD KEY &optional DOC)
gud-dguxdbx-marker-filter(STRING)
gud-display-frame()
gud-display-line(TRUE-FILE LINE)
gud-expansion-speedbar-buttons(DIRECTORY ZERO)
gud-expr-compound(FIRST SECOND)
gud-expr-compound-sep(SPAN-START SPAN-END)
gud-file-name(F)
gud-filter(PROC STRING)
gud-find-c-expr()
gud-find-class(F LINE)
gud-find-expr(&rest ARGS)
gud-find-file(FILE)
gud-format-command(STR ARG)
gud-forward-sexp()
gud-gdb(COMMAND-LINE)
gud-gdb-completion-at-point()
gud-gdb-completions(CONTEXT COMMAND)
gud-gdb-completions-1(COMPLETE-LIST)
gud-gdb-fetch-lines-filter(STRING)
gud-gdb-get-stackframe(BUFFER)
gud-gdb-goto-stackframe(TEXT TOKEN INDENT)
gud-gdb-marker-filter(STRING)
gud-gdb-run-command-fetch-lines(COMMAND BUFFER &optional SKIP)
gud-goto-info()
gud-guiler-marker-filter(STRING)
gud-innermost-expr()
gud-install-speedbar-variables()
gud-irixdbx-marker-filter(STRING)
gud-jdb-analyze-source(BUF FILE)
gud-jdb-build-class-source-alist(SOURCES)
gud-jdb-build-class-source-alist-for-file(FILE)
gud-jdb-build-source-files-list(PATH EXTN)
gud-jdb-find-source(STRING)
gud-jdb-find-source-file(P)
gud-jdb-find-source-using-classpath(P)
gud-jdb-marker-filter(STRING)
gud-jdb-massage-args(FILE ARGS)
gud-jdb-parse-classpath-string(STRING)
gud-marker-filter(&rest ARGS)
gud-mipsdbx-marker-filter(STRING)
gud-mode()
gud-next-expr()
gud-pdb-marker-filter(STRING)
gud-perldb-marker-filter(STRING)
gud-perldb-massage-args(FILE ARGS)
gud-prev-expr()
gud-query-cmdline(MINOR-MODE &optional INIT)
gud-read-address()
gud-refresh(&optional ARG)
gud-sdb-find-file(F)
gud-sdb-marker-filter(STRING)
gud-sentinel(PROC MSG)
gud-set-repeat-map-property(KEYMAP-SYMBOL)
gud-speedbar-buttons(BUFFER)
gud-speedbar-item-info()
gud-symbol(SYM &optional SOFT MINOR-MODE)
gud-tooltip-activate-mouse-motions(ACTIVATEP)
gud-tooltip-activate-mouse-motions-if-enabled()
gud-tooltip-change-major-mode()
gud-tooltip-dereference(&optional ARG)
gud-tooltip-mode(&optional ARG)
gud-tooltip-mouse-motion(EVENT)
gud-tooltip-print-command(EXPR)
gud-tooltip-process-output(PROCESS OUTPUT)
gud-tooltip-tips(EVENT)
gud-val(SYM &optional MINOR-MODE)
gud-xdb-marker-filter(STRING)
gud-xdb-massage-args(FILE ARGS)
guiler(COMMAND-LINE)
jdb(COMMAND-LINE)
pdb(COMMAND-LINE)
perldb(COMMAND-LINE)
sdb(COMMAND-LINE)
xdb(COMMAND-LINE)

Defined faces (0)