1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
Nick Roberts
007af086d0 (gud-menu-map): Revert to window-fringes for
selected window.  This still doesn't work for speedbar.
(gud-speedbar-buttons): Handle string expressions properly.
2005-11-12 21:26:55 +00:00
Nick Roberts
a3caa4de72 (gud-menu-map): Move parentheses.
(gdb): New command gud-pv.
2005-11-10 19:25:59 +00:00
Nick Roberts
c69da4c77d (gdb): Make gud-pp use user-defined command pp1. 2005-11-09 20:39:06 +00:00
Nick Roberts
5ee476765c (gud-menu-map): Ensure tool-bar is constant when using the speedbar.
(gdb): New command gud-pp.
(gud-menu-map, gud-tool-bar-map): Put it on the tool bar.
2005-11-09 10:45:07 +00:00
Nick Roberts
2ad0fb7d01 (gud-filter): Use comint-update-fence to delete
old prompt comint-prompt-read-only is t and GDB commands are
issued from tool bar etc.
2005-10-31 09:30:35 +00:00
Nick Roberts
3cae51964d (gud-menu-map): Only display gud-until icon
when the fringe is not available.
2005-10-26 01:02:31 +00:00
Nick Roberts
3139e03a40 (gud-filter): Bind inhibit-read-only to t
in case comint-prompt-read-only is set to t.
2005-10-24 08:50:45 +00:00
Nick Roberts
04d3b870df (gud-menu-map): Correct condition for fringe. 2005-10-18 03:44:25 +00:00
Nick Roberts
a1edf96294 (gud-tool-bar-map): Rename the images
appropriately (gud/next, gud/nexti, gud/step, gud/stepi).
(gud-sentinel): Use speedbar-frame to check for speedbar.
2005-10-15 22:58:11 +00:00
Bill Wohler
c7ddd70103 * toolbar/gud-break.*: Moved to etc/images/gud/break.*.
* toolbar/gud-cont.*: Moved to etc/images/gud/cont.*.
* toolbar/gud-down.*: Moved to etc/images/gud/down.*.
* toolbar/gud-finish.*: Moved to etc/images/gud/finish.*.
* toolbar/gud-ni.*: Moved to etc/images/gud/ni.*.
* toolbar/gud-n.*: Moved to etc/images/gud/n.*.
* toolbar/gud-print.*: Moved to etc/images/gud/print.*.
* toolbar/gud-pstar.*: Moved to etc/images/gud/pstar.*.
* toolbar/gud-remove.*: Moved to etc/images/gud/remove.*.
* toolbar/gud-run.*: Moved to etc/images/gud/run.*.
* toolbar/gud-si.*: Moved to etc/images/gud/si.*.
* toolbar/gud-s.*: Moved to etc/images/gud/s.*.
* toolbar/gud-until.*: Moved to etc/images/gud/until.*.
* toolbar/gud-up.*: Moved to etc/images/gud/up.*.
* toolbar/gud-watch.*: Moved to etc/images/gud/watch.*.

* progmodes/gud.el (gud-tool-bar-map): Renamed the images
  appropriately (for example, gud-break to gud/break).
2005-10-15 05:41:11 +00:00
Nick Roberts
c35d8f463c (gud-install-speedbar-variables): Add more
bindings.
(gud-speedbar-buttons): Preserve point if possible.
(gud-sentinel): Restore previous speedbar display type.
2005-10-10 12:25:04 +00:00
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