1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

157 Commits

Author SHA1 Message Date
Nick Roberts
b863eb3594 (gud-last-speedbar-buffer): Remove.
(gud-install-speedbar-variables): Add GUD to speedbar "Displays"
list.
(gud-expansion-speedbar-buttons): New function.
(gud-speedbar-buttons): Check for gud-comint-buffer.
2005-10-09 20:22:43 +00:00
Nick Roberts
8f078ee4a3 (gud-speedbar-menu-items): Use :visible
instead of :active.
2005-10-08 21:19:18 +00:00
Nick Roberts
ccd91c0978 (gud-menu-map): Only display un-intuitive
gud-break and gud-remove icons when the fringe is not available.
2005-10-07 02:45:56 +00:00
Deepak Goel
29a4e67d88 Message format fixes, commit no. 3 2005-09-18 12:31:28 +00:00
Juanma Barranquero
691ccfad8f (gdb-active-process, gdb-define-alist, gdb-macro-info, gdb-server-prefix,
gdb-show-changed-values, gdb-var-changed, gdb-var-list, tool-bar-map):
Add defvars.
(gud-expr-compound-sep, gud-expr-compound): "?\ " -> "?\s".
2005-08-30 11:00:32 +00:00
Andreas Schwab
6a7df22fdb (gud-kill-buffer-hook): Don't kill unrelated
process.
2005-08-19 15:03:48 +00:00
Nick Roberts
761b053bac (gud-jump): Rework for gdb-ui. 2005-08-16 09:31:31 +00:00
Nick Roberts
bfa93501f0 * progmodes/gdb-ui.el (gdb-enable-debug-log): Add autoload cookie.
* progmodes/gud.el (gud-tooltip-mode): Add autoload cookie.
(gud-tooltip-mode): Don't barf if the GUD buffer has been killed.
2005-08-01 08:29:11 +00:00
Nick Roberts
fd9a7f35a1 (etags, sdb): Only require etags when needed.
(gud-speedbar-menu-items): Correct logic for enabling items.
2005-07-15 14:44:33 +00:00
Nick Roberts
67bb20fadb Require font-lock for displaying errors.
Used by gdb-ui.el.
2005-07-07 04:59:06 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Andreas Schwab
0a0157ba2c (gud-filter): Remove unneeded progn. 2005-06-30 21:10:27 +00:00
Nick Roberts
007c55a45f (gud-filter): Add missing argument to
with-selected-window.
2005-06-27 00:17:06 +00:00
Richard M. Stallman
3e215e3007 (gud-filter): Simplify using with-selected-window and with-current-buffer. 2005-06-25 13:52:15 +00:00
Nick Roberts
823d223503 (gud-tooltip-print-command): Indent properly.
(gud-gdb-marker-filter): Use font-lock-warning-face for any
initial error.
2005-06-24 01:31:50 +00:00
Nick Roberts
dce4ed29ce * progmodes/gud.el (tooltip-use-echo-area): Remove alias.
Define in tooltip.el.
(gud-tooltip-process-output): Respect tooltip-use-echo-area.
(gud-tooltip-tips): Respect tooltip-use-echo-area and
gud-tooltip-echo-area.
2005-06-14 21:14:12 +00:00
Juanma Barranquero
490f67f86e (xdb): Fix quoting in docstring. 2005-06-14 11:34:43 +00:00
Nick Roberts
32759db597 (gdb, gud-menu-map): Add command to evaluate
C dereferenced pointer expression.
(gud-tool-bar-map): Put it on the tool bar.
2005-06-05 07:54:50 +00:00
Nick Roberts
be820e8d82 (gud-goto-info): Use info. Don't use require.
(toggle-gud-tooltip-dereference): Rename from gud-toggle-tooltip-dereference.
2005-05-27 20:54:58 +00:00
Nick Roberts
2b9688f62f (gud-tooltip-mode): Add gud prefix to
tooltip-change-major-mode.
(gud-tooltip-print-command): Remove case where gud-minor-mode
is gdb ("--fullname").
(gud-tooltip-tips): Turn GUD tooltips off for this case and
explain to user.
2005-05-16 06:42:37 +00:00
Nick Roberts
df94fa1e38 (gud-tooltip-mode): Require tooltip to be safe.
(gud-tooltip-print-command): Add gdbmi case.
(gud-tooltip-tips): Call gdb-tooltip-print-1 first if there is
preprocessor info.
2005-05-09 21:55:33 +00:00
Nick Roberts
ce38ddb8ae Move code for GUD tooltips from tooltip.el.
(require): CL needed to compile case.
(gud-tooltip-mode): Use to toggle GUD tooltips unstead of
tooltip-gud-tips-p. Make it a minor-mode.
(gud-find-file): Only prepare GUD tooltips if gud-tooltip-mode is t.
(gud-menu-map): GUD tooltips use gud-tooltip-mode now.
(gud-tooltip-modes, gud-tooltip-display, gud-tooltip-echo-area)
(gud-tooltip-change-major-mode)
(gud-tooltip-activate-mouse-motions-if-enabled)
(gud-tooltip-mouse-motions-active, gud-tooltip-activate-mouse-motions)
(gud-tooltip-mouse-motion, gud-tooltip-toggle-dereference)
(gud-tooltip-original-filter, gud-tooltip-dereference)
(gud-tooltip-event, tooltip-toggle-gud-tips)
(gud-tooltip-process-output, gud-tooltip-print-command)
(gud-tooltip-tips): Moved from tooltip.el.
2005-05-06 22:10:50 +00:00
Nick Roberts
0d2794e362 Replace string-to-int with string-to-number.
(gud-find-file): Handle gdb-define-alist.
2005-05-03 06:47:18 +00:00
Nick Roberts
12b47dbf1f (gud-menu-map): Add tooltip-toggle-gud-tips. 2005-04-20 10:08:21 +00:00
Nick Roberts
f6579c7182 (gud-goto-info): Use existing Info buffer, if
possible.
2005-04-15 10:35:09 +00:00
Nick Roberts
4a7d2fb88d Don't set overlay-arrow-string to "=>" as this is done
globally in C now.
2005-04-12 03:11:23 +00:00
Nick Roberts
6f120f70bc (gud-display-line): GUD uses its own
overlay arrow now so don't set overlay-arrow-string.
(gud-pdb-command-name): Revert back to "pdb" (2004-04-26).
2005-04-11 22:32:24 +00:00
Nick Roberts
63cc3b0975 (gdb): (Re)-initialise gud-filter-pending-text.
(gud-filter-pending-text): Move in front of gdb.
(gud-overlay-arrow-position): New variable.
(gud-sentinel, gud-display-line): Use it in place of
overlay-arrow-position.
2005-03-29 20:59:42 +00:00
Nick Roberts
4e51823052 Correction to syntax in gud-menu-map. 2005-02-02 05:52:51 +00:00
Nick Roberts
ed941a3ce6 (gud-goto-info): New function.
(gud-tool-bar-map): Use correct icon.
2005-02-01 20:10:19 +00:00
Nick Roberts
1236e38628 (gud-display-line): Use display-buffer
for GDB-UI as for GUD.
2004-11-26 15:44:37 +00:00
Masatake YAMATO
e375517fda * progmodes/gud.el (gdb-script-beginning-of-defun): New function.
(gdb-script-end-of-defun): New function.
  (gdb-script-mode): Use `gdb-script-beginning-of-defun' and
  `gdb-script-end-of-defun' as *-of-defun-function.
2004-10-13 16:32:42 +00:00
Nick Roberts
129adb6f35 (gud-menu-map, gud-speedbar-menu-items)
(gud-speedbar-buttons, gud-sentinel, gud-display-line)
(gud-basic-call): Handle new value for gud-minor-mode (gdbmi) for
a new mode. The file (gdb-mi.el) for this mode will be included
with the GDB distribution (6.2 onwards) and will use GDB/MI as its
primary interface.
2004-05-23 20:29:44 +00:00
Stefan Monnier
27149c587c (gud-reset): Use unless & with-current-buffer. 2004-05-19 19:00:02 +00:00
Nick Roberts
68b872d2d3 (gud-mode): Add gud-kill-buffer-hook to kill-buffer-hook here and make it local.
(gud-kill-buffer-hook): Use kill-process for a sure kill.
2004-05-12 20:43:47 +00:00
Miles Bader
f9878c26e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-296
Allow restarting an existing debugger session that's exited

2004-05-10  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/gud.el (gud-common-init): Only consider an existing
   buffer an error if the debugger process is actually running.
2004-05-10 08:40:27 +00:00
Nick Roberts
5ab26292ec (gud-common-init): Throw an error if program is
already running under gdb.
2004-04-28 18:15:12 +00:00
Eli Zaretskii
3a69e5ad81 (gud-pdb-command-name): Change default to "pydb". 2004-04-26 11:12:27 +00:00
Nick Roberts
adbb5567a8 (gud-menu-map, gud-tool-bar-map): Add help button. 2004-04-15 20:04:38 +00:00
Nick Roberts
034de73609 (gud-gdb-marker-filter): Include "\n" in regexp
to detect the beginning of a level 2 or 3 annotation.
2004-03-29 19:24:11 +00:00
Nick Roberts
4ff0778271 (gud-install-speedbar-variables): Bind
gdb-var-delete to "D".
(gud-speedbar-menu-items): Add gdb-var-delete and, indirectly,
gdb-edit-value.
(gud-speedbar-buttons): Remove gdb-var-delete from tag-line.
(gud-gdb-marker-filter): Add comment for annotations.
2004-02-23 00:42:31 +00:00
Nick Roberts
a0c3f8bc46 (gud-jdb-marker-filter): Add period as optional thousands separator; fixes
<class>:<line-number> regexp for non-english locales.
2004-02-08 15:30:42 +00:00
Nick Roberts
9f1d9ee471 (gdb-first-prompt): Renamed from
gdb-first-pre-prompt
2004-01-07 23:22:34 +00:00
Eli Zaretskii
74c942dea8 (gud-tool-bar-map): Modify names of icon files
for gud-next, gud-nexti, gud-step and gud-stepi to prevent
file-name clashes on 8+3 DOS filesystems.
2003-12-30 08:50:29 +00:00
Nick Roberts
d7af32300b (gud-gdb-command-name): Set default to
"gdb --annotate=3".
(gud-gdb-marker-filter): Look out for annotations.
(gdb-first-pre-prompt): New variable.
Remove trailing white space.
2003-12-28 13:51:51 +00:00
Nick Roberts
79148a5ba3 (gud-speedbar-buttons): Use speed-bar-edit-line
to edit values when there are no children.
2003-12-23 20:32:31 +00:00
Nick Roberts
0a4f0ab1d7 (gud-speedbar-buttons): Check for variable
object changes in gdb-ui.el.
2003-10-21 22:37:29 +00:00
Nick Roberts
187c0c4022 (gud-menu-map, gud-tool-bar-map): Replace
gud-display with gud-watch.
(gud-speedbar-buttons): Add stuff for watching expressions
in the speedbar when using M-x gdba. Use dolist on old part
of this function.
2003-09-30 17:58:19 +00:00
Nick Roberts
1dd52b8210 (perldb): Add gud-until to list of commands.
Update gud-remove.
2003-09-22 22:02:51 +00:00
Nick Roberts
8a7bc7b803 (perldb): Change gud-print from just "%e" to "p %e" to
actually print the value in the GUD buffer.
2003-09-17 18:33:38 +00:00
Nick Roberts
339a559e5e (gud-find-class): Make jdb work again since
cc-mode changed the syntactic information.
2003-09-15 19:14:00 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Nick Roberts
37fdcfbc45 (gud-display-line): Don't set window-point if
source buffer is not visible. (Only happens with M-x gdba).
2003-08-24 20:41:39 +00:00
Masatake YAMATO
c52093761b (gdb-script-font-lock-keywords): Put `font-lock-function-name-face'
on a symbol which includes `-' like `hook-run'. Put
font-lock-variable-name-face  on a symbol starting with $.
2003-07-28 06:27:09 +00:00
Stefan Monnier
c3f6b2b412 (gud-find-expr-function): Rename from gud-find-expr.
(gud-find-fortran-expr): Move to fortran.el.
2003-06-18 23:26:28 +00:00
Nick Roberts
deaef28929 (gud-menu-map): Add dbx support for "run" and
"nexti".
(dbx): Define gud-nexti and gud-run.
(gud-find-expr, gud-find-fortran-expr): New functions.
(gud-find-expr): New variable.
(gud-find-c-expr): Simplify.
2003-06-18 22:36:40 +00:00
Juanma Barranquero
0f9c2d466c Moved from lisp/. 2003-06-05 19:58:26 +00:00