Commit graph

205 commits

Author SHA1 Message Date
Nick Roberts
671d498f2a (gdb-use-inferior-io-buffer): New function.
(menu, toggle-gdb-use-inferior-io-buffer): Get rid of defadvice.
(gdb-many-windows): Doc fix.
2005-10-31 21:13:15 +00:00
Nick Roberts
f99cf679b3 (gdb-many-windows): Leave window configuration
intact if there is no gud-comint-buffer.
2005-10-31 09:28:48 +00:00
Nick Roberts
7c8bd6a4a0 (gdb-tooltip-print-1): Fix regexp.
(gdb-registers-font-lock-keywords): Delete.
(gdb-registers-mode): Don't fontify.
(gdb-info-registers-custom): Use text properties instead as, in
future, changed register values will use font-lock-warning-face.
(gdb-local-font-lock-keywords): Rename to...
(gdb-locals-font-lock-keywords): ...for consistency.
2005-10-30 12:10:14 +00:00
Nick Roberts
9317517c79 (def-gdb-auto-updated-buffer)
(def-gdb-auto-update-trigger): Simplify construction.
(gdb-locals-buffer): Use def-gdb-auto-update-trigger instead of
def-gdb-auto-updated-buffer as gdb-info-locals-handler is
defined explicitly.
(gdb-assembler-buffer): Use def-gdb-auto-update-handler instead of
def-gdb-auto-updated-buffer as gdb-invalidate-assembler is
defined explicitly.
(gdb-info-locals-custom): Remove as it's a no-op.
2005-10-26 01:01:34 +00:00
Nick Roberts
dcc9160601 (gdb-mouse-until): New function.
(gdb-ann3): Bind it to mouse-2 and drag-mouse-1 in left fringe.
2005-10-25 02:30:39 +00:00
Nick Roberts
d12d5866fc (gdb-put-breakpoint-icon): Correct help-echo.
Display hand pointer and help-echo on disabled icon too.
2005-10-25 01:18:56 +00:00
Kim F. Storm
64ef03e90e (gdb-ann3): Bind mouse-3 in left fringe
to gdb-mouse-toggle-breakpoint-fringe.
(gdb-mouse-toggle-breakpoint-margin): Rename from
gdb-mouse-toggle-breakpoint. Fix doc.
(gdb-mouse-toggle-breakpoint-fringe): New defun.
(gdb-put-string): Add optional SPROPS arg.  Add props to string.
(gdb-put-breakpoint-icon): Add gdb-bptno and gdb-enabled
string properties also for fringe breakpoint bitmaps.
2005-10-24 22:06:47 +00:00
Nick Roberts
ea35bfd3bd (gdb-send): Bind inhibit-read-only to t
in case comint-prompt-read-only is set to t.
2005-10-24 08:54:18 +00:00
Nick Roberts
695bdd0107 (gdb-var-create-handler): Make watch
expressions display in speedbar for all buffers when debugging.
(gdb-speedbar-expand-node): Ensure node contraction is always
updated.
2005-10-17 21:09:38 +00:00
Nick Roberts
974be7ce98 (gdba): Improve diagram.
(def-gdb-auto-update-handler, gdb-info-locals-handler)
(gdb-put-breakpoint-icon, gdb-remove-breakpoint-icons): Call
get-buffer-window once.
2005-10-10 12:26:05 +00:00
Nick Roberts
6bef9fd7e9 (gdb-fringe-width -> gdb-buffer-fringe-width):
Typo.
2005-10-07 02:46:50 +00:00
Juanma Barranquero
8dc8d89594 (gdb-buffer-fringe-width): Add defvar. 2005-10-06 09:25:12 +00:00
Nick Roberts
475a41c957 (gdb-fringe-width): New variable.
(gdb-ann3): Set it.
(gdb-put-breakpoint-icon): Don't take fringe-width from speedbar
frame.
(gdb-info-frames-custom): Use inverse-video for first five
characters of selected frame only.
(gdb-get-frame-number): Select frame even when point is on frame
number.
2005-10-06 06:06:55 +00:00
Nick Roberts
6a8a087a3c (gdb-fringe-width): New variable.
(gdb-ann3): Set it.
(gdb-put-breakpoint-icon): Don't take fringe-width from speedbar
frame.
2005-10-06 03:42:24 +00:00
Masatake YAMATO
20ef86730c 2005-10-06 Masatake YAMATO <jet@gyve.org>
* progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Put
	`font-lock-function-name-face'.
	(gdb-info-frames-custom): Put `font-lock-function-name-face'
	and `font-lock-variable-name-face'
	(gdb-registers-font-lock-keywords): New font lock keywords definition.
	(gdb-registers-mode): Use `gdb-registers-font-lock-keywords`.
	(gdb-memory-font-lock-keywords): New font lock keywords definition.
	(gdb-memory-mode): Use `gdb-memory-font-lock-keywords'.
	(gdb-local-font-lock-keywords): New font lock keywords definition.
	(gdb-locals-mode): Use `gdb-local-font-lock-keywords'
	(gdb-threads-font-lock-keywords): New font lock keywords definition.
	(gdb-threads-mode): Use `gdb-threads-font-lock-keywords'.
2005-10-05 17:20:04 +00:00
Juanma Barranquero
bf1d7e4429 (tool-bar-map): Add defvar.
(gdb-frame-parameters): Declare before use.
2005-08-30 10:54:08 +00:00
Nick Roberts
f95e8d9759 (toggle-gdb-use-inferior-io-buffer):
Comment use of defadvice.
2005-08-16 09:32:11 +00:00
Dan Nicolaescu
e95e5f8193 * mh-customize.el: Do not use face-alias compatibility for
faces that did not appear in the previous Emacs release.

* buff-menu.el:
* compare-w.el:
* emacs-lisp/testcover.el:
* play/gomoku.el:
* play/mpuz.el:
* progmodes/flymake.el:
* progmodes/gdb-ui.el:
* progmodes/idlw-help.el:
* progmodes/idlw-shell.el:
* progmodes/ld-script.el:
* progmodes/which-func.el:
* ruler-mode.el:
* strokes.el:
* textmodes/sgml-mode.el:
* textmodes/table.el: Do not use face-alias for backward
compatibility for faces that did not appear in the previous Emacs
release.
2005-08-15 21:29:32 +00:00
Juanma Barranquero
1e5b5dc0a2 (gdb-frame-address, gdb-var-changed, gdb-output-sink, gdba,
gdb-cpp-define-alist-program, gdb-set-gud-minor-mode, gdb-exited,
gdb-setup-windows, gdb-put-string): Fix typos in docstrings.
2005-08-01 16:10:53 +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
0fc895004b Smarten comments.
(gdb-info-breakpoints-custom): Use nowarn when finding file.
2005-07-28 02:38:59 +00:00
Nick Roberts
4c199fcee9 (gdb-var-update, gdb-var-update-handler):
Don't consider gdbmi (gdb-mi.el has its own update functions).
(gdb-var-delete): Make it work for gdbmi as well.
(gdb-speedbar-expand-node): Move var-update here for gdbmi.
2005-07-15 14:45:09 +00:00
Nick Roberts
658d739344 Add note about buffering with Windows. 2005-07-12 05:31:08 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Nick Roberts
ff71329437 (gdb-send): Remove warning face from errors
after fresh input.
(gdb-var-create-handler): Put name of expression in quotes.
2005-06-24 01:32:24 +00:00
Nick Roberts
98c751fe30 (gdb-error): New variable.
(gdb-error): New function.
(gdb-annotation-rules): Act on error-begin and error annotations.
(gdb-concat-output): Use font-lock-warning-face for errors.
2005-06-22 08:45:01 +00:00
Nick Roberts
b636352442 (gdb-tooltip-print): Respect
tooltip-use-echo-area.
(menu): Re-order menu items.
2005-06-14 21:14:48 +00:00
Nick Roberts
1e539d255b (gdb-registers-mode): Let gdbmi use
MI command -data-list-register-values.
(gdb-post-prompt): Indent properly.
2005-06-13 06:01:12 +00:00
Nick Roberts
2884ae6dc6 (gdb-info-locals-handler): Use window point to preserve point.
(gdb-find-file-hook): Add doc string.
2005-06-05 07:55:32 +00:00
Nick Roberts
4cbf66013b (gdb-set-gud-minor-mode-1)
(gdb-info-breakpoints-custom, gdb-delete-breakpoint)
(gdb-goto-breakpoint, gdb-source-info, gdb-get-location)
(gdb-assembler-custom): Improve regexps.
(def-gdb-auto-update-handler): Use window point to ensure it
is preserved.
2005-05-31 20:55:48 +00:00
Nick Roberts
af3f7411df (gdb-toggle-breakpoint): Make regexp more robust.
(gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
Force regeneration of disassembly.
2005-05-30 06:11:01 +00:00
Nick Roberts
1f1f4de2da (gdb-memory-set-repeat-count):
Throw error when count <= 0 to ensure input is a number.
(gdb-read-memory-custom): Pick up address from buffer.
(gdb-memory-mode): Allow user to increment and decrement
memory address from header line.
2005-05-29 10:48:29 +00:00
Nick Roberts
8164904190 (gdb-assembler-custom): Be more careful about preserving point. 2005-05-28 12:15:33 +00:00
Nick Roberts
9594f9294b (gdb-all-registers): New variable.
(gdb-registers-buffer, toggle-gdb-all-registers):
Toggle display of floating point registers.
(gdb-registers-mode-map): Bind SPC to toggle-gdb-all-registers.
2005-05-27 20:56:43 +00:00
Nick Roberts
8da4dd7626 *** empty log message *** 2005-05-26 12:41:35 +00:00
Nick Roberts
5770a942e7 (gdb-frame-address):
Rename from gdb-current-address.
(gdb-previous-frame-address): Rename from gdb-previous-address.
(gdb-selected-frame): Rename from gdb-current-frame.
(gdb-get-selected-frame): Rename from gdb-get-current-frame.
(gdb-frame-number): Rename from gdb-current-stack-level.
(gdb-ann3): Match new mode-name for disassembly buffer.
Extend initialisation of variables.
(gdb-post-prompt): Update disassembly from gdb-frame-handler.
(gdb-memory-mode): Use mouse-face in header line.
(gdb-assembler-buffer-name): Call it disassembly and give frame
in mode line.
(gdb-source-spec-regexp, gdb-assembler-custom)
(gdb-invalidate-assembler, gdb-frame-handler):
Make robust to leading zeroes in address format.
2005-05-26 12:20:21 +00:00
Nick Roberts
086d0593ec (gdb-inferior-io-mode-map): Bind gdb-inferior-io-eof to C-d. 2005-05-23 23:38:29 +00:00
Nick Roberts
453b7959ae (gdb-info-locals-handler): Make regexps
more general and work when GDB variable "print pretty" is on,
as with Emacs, for example.
2005-05-22 12:37:24 +00:00
Nick Roberts
89d8189aa8 (gdb-macro-info): New variable.
(gdb-source-info): Check for preprocessor info.
(gdb-tooltip-print-1): New function. Don't print tooltip if it is
a macro for a function.
found (user might have used GDB dir command).
(gdb-info-breakpoints-custom): Try to find file again if not already
(gdb-get-location): Update gdb-location-alist correctly for change
to gdb-info-breakpoints-custom.
2005-05-09 21:54:47 +00:00
Nick Roberts
226c2e4066 (gdb-tooltip-print): Moved from tooltip.el.
(gdb-cpp-define-alist-flags): Doc fix.
(gdb-set-gud-minor-mode-1): Only prepare GUD tooltips if
gud-tooltip-mode is t.
2005-05-06 22:12:34 +00:00
Eli Zaretskii
83ef7c48bd (gdb-cpp-define-alist-program): Doc fix.
Remove the redundant test for ms-dos.
2005-05-06 12:47:54 +00:00
Nick Roberts
4c192d5a24 (gdb-cpp-define-alist-flags): New variable.
(gdb-create-define-alist): Use. it.
(gdb-cpp-define-alist-program): Update for MS-DOS?
2005-05-04 20:44:02 +00:00
Nick Roberts
5c66660f61 (gdb-cpp-define-alist-program)
(gdb-define-alist): New variables.
(gdb-create-define-alist): New function.
(gdb-set-gud-minor-mode-1): Handle gdb-define-alist.
(gdb-source, gdb-memory-set-repeat-count): Replace string-to-int
with string-to-number.
(gdb-reset): Kill gdb-define-alist. Move assignments outside loop.
2005-05-03 06:48:47 +00:00
Nick Roberts
9cc4d7dd64 (gdb-active-process): New variable.
(gdb-exited): New function.
(gdb-annotation-rules): Use it.
(gdb-starting): Set gdb-active-process to t.
(gdb-stopping): Amend doc string.
(gdb-reset): Set gdb-active-process to nil.
2005-04-27 22:00:22 +00:00
Nick Roberts
a00917788e (gdb-location-alist): Rename from
gdb-location-list.
Break lines that are over 80 characters wide.
2005-04-26 21:25:55 +00:00
Nick Roberts
583e8dd926 (gdb-assembler-mode):
Don't set overlay-arrow-string to "=>" as this is done
globally in C now.
2005-04-12 03:10:25 +00:00
Nick Roberts
1a0320876e (gdb-display-inferior-io-buffer)
(gdb-frame-inferior-io-buffer): New Functions to control
display of separate IO buffer.
(menu): Add them to menu-bar.
(gdb-display-buffer): Check for buffer in another frame.
Protect GUD buffer.
(gdb-setup-windows): Create IO buffer if not already there.
(gdb-memory-mode): Remove purecopy noops.
2005-04-11 12:48:42 +00:00
Nick Roberts
0d43db4d62 (gdb-breakpoints-mode-map)
(gdb-frames-mode-map): Add follow-link property.
2005-03-25 22:04:45 +00:00
Miles Bader
c29749e731 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-204
Clean up gdb-ui breakpoint faces

2005-03-23  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled):
   Remove tty-specific variants, as they're no longer needed.
2005-03-24 03:25:40 +00:00
Kim F. Storm
5f9e3a2636 (breakpoint-enabled, breakpoint-disabled):
Don't inherit from fringe face (now happens automatically).
2005-03-22 23:08:57 +00:00