1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

143 Commits

Author SHA1 Message Date
Miles Bader
136b4eda87 (gud-basic-call): Temporarily widen gud comint buffer while checking for
prompt to delete.  Use `forward-line 0' instead of beginning-of-line.
(gud-filter): Temporarily widen gud comint buffer while examining output.
2000-08-19 01:59:21 +00:00
Miles Bader
f09b5567e6 (gud-filter): Use `with-current-buffer' instead of save-excursion when
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.
2000-08-10 10:54:40 +00:00
Miles Bader
01d8967d66 (gud-gdb-complete-command): Use comint-line-beginning-position. 2000-08-07 14:54:35 +00:00
Gerd Moellmann
8050f8c8a5 (gud-jdb-directories): Doc fix. 2000-05-19 20:35:18 +00:00
Gerd Moellmann
1edb5ce2f6 (gud-gdb-find-file): Call find-file-noselect with NOWARN
argument.
2000-04-27 10:41:43 +00:00
Stefan Monnier
471cd1d3fe (gud-jdb-build-source-files-list): Fix typo. 2000-04-17 10:37:49 +00:00
Gerd Moellmann
ffc50f2aab (gud-jdb-build-source-files-list): Change file-exists-p
to file-directory-p.
2000-04-15 11:33:45 +00:00
Gerd Moellmann
90757bb354 (gud-jdb-build-source-files-list): Check that directory
exists before calling directory-files.
2000-04-14 13:27:48 +00:00
Dave Love
b2e6047538 (gud-jdb-build-class-source-alist): Prepend space to scratch buffer
name.
(gud-format-command): Use int-to-string in ?l case.  Simplify slightly.
2000-02-23 22:17:05 +00:00
Gerd Moellmann
a09754e6c6 (gud-perldb-massage-args): Handle the case "perl -e 0"
the default when invoking perldb in a non-Perl buffer) and other
cases involving -e or --.
1999-11-04 20:52:05 +00:00
Gerd Moellmann
f2eb772dca (gud-perldb-massage-args): Massage correctly in the
presence of perl switches other than "-e".
1999-11-01 21:10:27 +00:00
Richard M. Stallman
8261aae6ec (gud-make-debug-menu): Make a child for the
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.
1999-09-08 05:17:05 +00:00
Richard M. Stallman
7373939990 (gud-format-command): "%F" means file sans extension.
(jdb): use %F, not %f, for gud-break.
1999-05-17 01:38:59 +00:00
Karl Heuer
fe9891e0c3 (gud-jdb-massage-args): Spelling fix. 1999-02-23 22:17:48 +00:00
Andreas Schwab
25330efdb5 (jdb): Fix regexp for comint-prompt-regexp. 1999-02-12 10:38:47 +00:00
Richard M. Stallman
18aa807e60 (gud-common-init): Use pop-to-buffer.
(same-window-regexps): Add an element that matches all gud buffers.
1998-11-19 04:33:37 +00:00
Karl Heuer
acb50e3cd4 (gud-speedbar-key-map) New variable.
(gud-install-speedbar-variables) New function
Install speedbar keymap only when speedbar is loaded.
(gud-gdb-get-stackframe) Added : to regex for c++.
1998-07-10 16:47:28 +00:00
Richard M. Stallman
88be0819a1 (gud-filter): extend scope of binding of gud-filter-defer-flag. 1998-06-12 05:59:33 +00:00
Richard M. Stallman
500f12df89 (gud-jdb-class-source-alist): defvar moved up.
(gud-jdb-analysis-buffer): Likewise.
1998-05-24 17:16:20 +00:00
Richard M. Stallman
d2d23393cd Support pdb.
(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.
1998-05-21 03:34:21 +00:00
Richard M. Stallman
f4b643a15f (gud-perldb-marker-acc): Variable deleted.
(gud defgroup): Doc fix.
1998-05-20 05:24:42 +00:00
Karl Heuer
35dd3c558f (jdb): Do proper analysis of classes defined in a Java
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.
1998-04-08 19:07:45 +00:00
Richard M. Stallman
c3fd0eea6c Add support for jdb (Java debugger).
(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.
1998-04-02 05:04:20 +00:00
Eric M. Ludlam
e9a918f970 Added gud-speedbar-buttons, and support for GDB buttons. 1998-01-23 02:04:20 +00:00
Karl Heuer
7c82656b08 (gud-mips-p): Fix regexp so it will match alphaev56-* too. 1997-12-07 21:40:41 +00:00
Andreas Schwab
1a3ce5c466 (gud-sentinel): Set mode-line-process in the process
buffer, not the current buffer.
1997-11-21 10:34:10 +00:00
Richard M. Stallman
d6efd584a0 (perldb): Fix paren error in call to read-from-minibuffer. 1997-09-12 20:58:57 +00:00
Geoff Voelker
15cf3eccb8 (gud-gdb-marker-regexp): Allow for drive letter and colon. 1997-09-02 19:39:35 +00:00
Richard M. Stallman
c404182949 Comment change. 1997-08-05 20:15:34 +00:00
Richard M. Stallman
f6aa627c0b (gud): Fix defgroup doc. 1997-08-05 08:10:20 +00:00
Richard M. Stallman
34c8b6731d (gud-dgux-p, gud-dguxdbx-marker-filter): New functions.
(dbx): Use them.
1997-06-01 23:50:47 +00:00
Richard M. Stallman
69c1dd37e3 Use defgroup and defcustom. 1997-05-05 11:57:31 +00:00
Richard M. Stallman
c47264b363 (gud-mode): Add a mode-class property. 1997-05-05 04:22:06 +00:00
Richard M. Stallman
1ac95fabf3 (gud-gdb-marker-regexp): Use colon always, not path-separator. 1997-01-07 21:49:53 +00:00
Richard M. Stallman
67580ab566 Move two function definitions. 1996-10-08 08:03:42 +00:00
Richard M. Stallman
5dd9db3bbd (perldb): Supply visited file name, or -e 0, as default args. 1996-09-28 20:37:44 +00:00
Richard M. Stallman
aa9063cb23 (gud-perldb-massage-args): Handle -e in ARGS.
(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.
1996-09-25 07:17:18 +00:00
Richard M. Stallman
f55d65a166 (gud-display-line): Don't call display-buffer
if buffer already has a window.
1996-09-20 18:56:36 +00:00
Richard M. Stallman
ab4b0d2f59 (gud-find-c-expr): Renamed from find-c-expr.
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.
1996-09-13 21:58:23 +00:00
Richard M. Stallman
f579226245 (gdb): Undo previous change. 1996-08-01 22:37:47 +00:00
Richard M. Stallman
80e2afdd25 (gdb): Bind comint-file-name-regexp. 1996-07-31 16:35:11 +00:00
Richard M. Stallman
87a3fd191d (gud-display-line): Don't crash if BUFFER is nil. 1996-07-28 02:20:21 +00:00
Richard M. Stallman
9ab5d005aa (perldb-command-name): New variable.
(perldb): Use it.
1996-07-22 19:06:26 +00:00
Karl Heuer
ac8da9507a (gud-irix-p): Exclude Irix6.1 up.
(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.
1996-07-07 22:29:37 +00:00
Richard M. Stallman
b75062df6d (gud-irixdbx-marker-filter): Use %1ld, not %1d,
when printing $curline.
(dbx, irix case): Likewise in arg of gud-down.
1996-06-19 20:52:31 +00:00
Richard M. Stallman
58684193b8 (gud-filter): Cal gud-display-frame even if process-window is nil. 1996-05-10 02:41:59 +00:00
Richard M. Stallman
c7856dbefc (gud-filter): Move the call to gud-display-frame
outside of the save-excursion.
1996-05-08 04:36:21 +00:00
Richard M. Stallman
36d6372a40 (gud-display-line): Switch to gud buffer before calling gud-find-file. 1996-05-02 21:20:55 +00:00
Richard M. Stallman
b0764b2d69 (gud-mode): Doc fix. 1996-04-03 19:08:28 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00