summaryrefslogtreecommitdiff
path: root/lisp/gud.el
Commit message (Collapse)AuthorAgeFilesLines
* (dbx) <gud-dbx-use-stopformat-p>: Move this case into theEli Zaretskii2001-09-111-4/+4
| | | | | `t' branch of `cond', since Irix 6.1 and up is a special case of the standard dbx interface.
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-6/+6
|
* (gud-gdb-run-command-fetch-lines): Use forward-lineStefan Monnier2001-05-231-7/+12
| | | | | | | rather than beginning-of-line to avoid problems with fields. (gud-perldb-massage-args): Use unless and push. (gud-chdir-before-run): New var. (gud-common-init): Use it.
* (gud-jdb-build-source-files-list): Fix paren typo.Stefan Monnier2001-05-111-1/+2
|
* (gud-perldb-massage-args): Avoid nreverse'ing a listGerd Moellmann2001-01-261-1/+1
| | | | part of which is a constant.
* (gud-minor-mode): New var.Stefan Monnier2000-11-121-190/+107
| | | | | | | | | | | | | | | | | | | | | (gud-symbol, gud-val): New functions. (gud-find-file): Copy gud-minor-mode to the new buffer. (gud-menu-map): Include entries for commands that are not always available, using :enable to (de)activate them. (gud-minor-mode-map): New map. Add it to minor-mode-map-alist. (gud-mode-map): New map. (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file) (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file): Don't set up gud's menu (it's done by the minor-mode). (gud-minibuffer-local-map): New. Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map. (gud-query-cmdline): New function. (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode. (gud-mode): Use define-derived-mode. Don't set up gud's menu (it's done by the minor-mode). (gud-chop-words): Remove. (gud-common-init): Use split-string instead. (gud-new-keymap, gud-make-debug-menu): Eradicate.
* (gud-basic-call): Temporarily widen gud comint buffer while checking forMiles Bader2000-08-191-18/+23
| | | | | prompt to delete. Use `forward-line 0' instead of beginning-of-line. (gud-filter): Temporarily widen gud comint buffer while examining output.
* (gud-filter): Use `with-current-buffer' instead of save-excursion whenMiles Bader2000-08-101-3/+3
| | | | | | inserting the output, so that point gets updated correctly; the old method relied on a rather dodgy side-effect of comint-output-filter to avoid the effect of save-excursion.
* (gud-gdb-complete-command): Use comint-line-beginning-position.Miles Bader2000-08-071-5/+1
|
* (gud-jdb-directories): Doc fix.Gerd Moellmann2000-05-191-1/+9
|
* (gud-gdb-find-file): Call find-file-noselect with NOWARNGerd Moellmann2000-04-271-1/+1
| | | | argument.
* (gud-jdb-build-source-files-list): Fix typo.Stefan Monnier2000-04-171-1/+1
|
* (gud-jdb-build-source-files-list): Change file-exists-pGerd Moellmann2000-04-151-1/+1
| | | | to file-directory-p.
* (gud-jdb-build-source-files-list): Check that directoryGerd Moellmann2000-04-141-1/+3
| | | | exists before calling directory-files.
* (gud-jdb-build-class-source-alist): Prepend space to scratch bufferDave Love2000-02-231-7/+6
| | | | | name. (gud-format-command): Use int-to-string in ?l case. Simplify slightly.
* (gud-perldb-massage-args): Handle the case "perl -e 0"Gerd Moellmann1999-11-041-14/+35
| | | | | the default when invoking perldb in a non-Perl buffer) and other cases involving -e or --.
* (gud-perldb-massage-args): Massage correctly in theGerd Moellmann1999-11-011-7/+20
| | | | presence of perl switches other than "-e".
* (gud-make-debug-menu): Make a child for theRichard M. Stallman1999-09-081-13/+12
| | | | | | | local menu, for its menu bar, and the debug menu. (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use the history for arg-reading in the simple way.
* (gud-format-command): "%F" means file sans extension.Richard M. Stallman1999-05-171-6/+11
| | | | (jdb): use %F, not %f, for gud-break.
* (gud-jdb-massage-args): Spelling fix.Karl Heuer1999-02-231-1/+1
|
* (jdb): Fix regexp for comint-prompt-regexp.Andreas Schwab1999-02-121-1/+1
|
* (gud-common-init): Use pop-to-buffer.Richard M. Stallman1998-11-191-1/+5
| | | | (same-window-regexps): Add an element that matches all gud buffers.
* (gud-speedbar-key-map) New variable.Karl Heuer1998-07-101-3/+24
| | | | | | (gud-install-speedbar-variables) New function Install speedbar keymap only when speedbar is loaded. (gud-gdb-get-stackframe) Added : to regex for c++.
* (gud-filter): extend scope of binding of gud-filter-defer-flag.Richard M. Stallman1998-06-121-16/+16
|
* (gud-jdb-class-source-alist): defvar moved up.Richard M. Stallman1998-05-241-7/+7
| | | | (gud-jdb-analysis-buffer): Likewise.
* Support pdb.Richard M. Stallman1998-05-211-1/+135
| | | | | | | | | | | (pdb): New function. (gud-pdb-command-name): New variable. (pdb-minibuffer-local-map): Likewise. (gud-pdb-find-file): New function. (gud-pdb-marker-filter): New function. (gud-pdb-marker-regexp*): New variables. (gud-pdb-massage-args): New function. (gud-pdb-history): New variable.
* (gud-perldb-marker-acc): Variable deleted.Richard M. Stallman1998-05-201-285/+284
| | | | (gud defgroup): Doc fix.
* (jdb): Do proper analysis of classes defined in a JavaKarl Heuer1998-04-081-33/+227
| | | | | | | | | | | | | | | | | | source. This removes the restriction of one class per file. (gud-jdb-package-of-file): Removed. Replaced with parsing routines. (gud-jdb-skip-whitespace): New function. (gud-jdb-skip-single-line-comment): New function. (gud-jdb-skip-traditional-or-documentation-comment): New function. (gud-jdb-skip-whitespace-and-comments): New function. (gud-jdb-skip-id-ish-thing): New function. (gud-jdb-skip-string-literal): New function. (gud-jdb-skip-character-literal): New function. (gud-jdb-skip-block): New function. (gud-jdb-analyze-source): New function. (gud-jdb-build-class-source-alist-for-file): New function. (gud-jdb-analysis-buffer): New variable. (gud-jdb-build-class-source-alist): Cleaner at the expense of new variable.
* Add support for jdb (Java debugger).Richard M. Stallman1998-04-021-5/+290
| | | | | | | | | | | | | | | | | (jdb): New function. (gud-jdb-history): New variable. (gud-jdb-directories): New variable. (gud-jdb-source-files): New variable. (gud-jdb-build-source-files-list): New function. (gud-jdb-package-of-file): New function. (gud-jdb-class-source-alist): New variable. (gud-jdb-build-class-source-alist): New function. (gud-jdb-massage-args): New function. (gud-jdb-find-source-file): New function. (gud-jdb-marker-filter): New function. (gud-jdb-find-file): New function. (gud-jdb-command-name): New variable. (gud-perldb-command-name): Variable renamed from perldb-command-name.
* Added gud-speedbar-buttons, and support for GDB buttons.Eric M. Ludlam1998-01-231-0/+175
|
* (gud-mips-p): Fix regexp so it will match alphaev56-* too.Karl Heuer1997-12-071-1/+1
|
* (gud-sentinel): Set mode-line-process in the processAndreas Schwab1997-11-211-4/+4
| | | | buffer, not the current buffer.
* (perldb): Fix paren error in call to read-from-minibuffer.Richard M. Stallman1997-09-121-2/+2
|
* (gud-gdb-marker-regexp): Allow for drive letter and colon.Geoff Voelker1997-09-021-1/+1
|
* Comment change.Richard M. Stallman1997-08-051-1/+1
|
* (gud): Fix defgroup doc.Richard M. Stallman1997-08-051-1/+1
|
* (gud-dgux-p, gud-dguxdbx-marker-filter): New functions.Richard M. Stallman1997-06-011-0/+54
| | | | (dbx): Use them.
* Use defgroup and defcustom.Richard M. Stallman1997-05-051-8/+26
|
* (gud-mode): Add a mode-class property.Richard M. Stallman1997-05-051-0/+2
|
* (gud-gdb-marker-regexp): Use colon always, not path-separator.Richard M. Stallman1997-01-071-2/+5
|
* Move two function definitions.Richard M. Stallman1996-10-081-15/+16
|
* (perldb): Supply visited file name, or -e 0, as default args.Richard M. Stallman1996-09-281-1/+5
|
* (gud-perldb-massage-args): Handle -e in ARGS.Richard M. Stallman1996-09-251-5/+14
| | | | | | | (gud-perldb-marker-filter): Handle drive letters in file name. (perldb): Update comint-prompt-regexp for latest Perl. (gud-mode): Locally set comint-input-ignoredups to t.
* (gud-display-line): Don't call display-bufferRichard M. Stallman1996-09-201-2/+3
| | | | if buffer already has a window.
* (gud-find-c-expr): Renamed from find-c-expr.Richard M. Stallman1996-09-131-44/+51
| | | | | | | | | | | Don't get fooled by if and while statements. (gud-expr-compound): Renamed from expr-compound. (gud-expr-compound-sep): Renamed from expr-compound-sep. (gud-next-expr): Renamed from expr-next. (gud-prev-expr): Renamed from expr-prev. (gud-forward-sexp): Renamed from expr-forward-sexp. (gud-backward-sexp): Renamed from expr-backward-sexp. (gud-innermost-expr): Renamed from expr-cur.
* (gdb): Undo previous change.Richard M. Stallman1996-08-011-7/+6
|
* (gdb): Bind comint-file-name-regexp.Richard M. Stallman1996-07-311-6/+7
|
* (gud-display-line): Don't crash if BUFFER is nil.Richard M. Stallman1996-07-281-15/+17
|
* (perldb-command-name): New variable.Richard M. Stallman1996-07-221-1/+4
| | | | (perldb): Use it.
* (gud-irix-p): Exclude Irix6.1 up.Karl Heuer1996-07-071-9/+26
| | | | | | | | (gud-dbx-use-stopformat-p): New variable. (dbx): Use it to send $stopformat for Irix6. (gud-irixdbx-marker-filter): Cast $curline to int, not long (see added comments). (dbx): Likewise.