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

2715 Commits

Author SHA1 Message Date
Alan Mackenzie
0386b551af Update CC Mode to release 5.31. 2005-12-02 12:30:36 +00:00
Nick Roberts
d60d4cd6ef (gud-menu-map): Put gud-finish back on the
tool bar (removed inadvertantly).
2005-12-02 09:15:56 +00:00
Nick Roberts
9f6efa0c78 (gdb-ann3): Bind mouse-2 to gdb-mouse-until in the margin also.
(gdb-breakpoints-mode-map): Use D instead of d for gdb-delete-breakpoint.
(gdb-get-frame-number): Require a number to match on.
(gdb-threads-mode-map): Add follow-link binding.
2005-12-01 02:17:15 +00:00
Nick Roberts
e83637f972 (gud-gdb-marker-filter): When GDB is invoked with a process number, detect it.
(gud-speedbar-buttons): Match regexp more carefully.
2005-11-27 22:17:29 +00:00
Nick Roberts
55cd42a4c1 (gdb-stopped): Detect process when attaching.
(gdb-pre-prompt): Make sure gdb-error is reset.
2005-11-27 22:16:02 +00:00
Stefan Monnier
ec121b9632 (sh-font-lock-syntactic-keywords): \ doesn't escape single quotes. 2005-11-27 20:44:44 +00:00
John Paul Wallington
940ed7e48b (gdb-edit-register-value): Use posn-set-point' instead of mouse-set-point'
because the latter is not fbound when configured without X.
2005-11-27 02:59:52 +00:00
Nick Roberts
53f18ed2c8 (gdb-goto-breakpoint, gdb-frames-select, gdb-threads-select):
Use `posn-set-point' instead of `mouse-set-point' because the
latter is not fbound when configured without X.
2005-11-27 01:17:47 +00:00
Eli Zaretskii
107dd21bca (inferior-octave-startup): Force a non-empty string for secondary prompt PS2. 2005-11-26 10:51:22 +00:00
Chong Yidong
49d11c492a * progmodes/compile.el (compilation-setup): Fix last fix. 2005-11-25 22:07:00 +00:00
Nick Roberts
be1c984450 (gdb-info-breakpoints-custom)
(gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe, gdb-threads-select):
Add gdb-server-prefix to keep out of command history.
(gdb-edit-register-value): New function.
(gdb-registers-mode-map): Bind mouse-2 and RET to it.
(gdb-info-registers-custom): Use above map.
2005-11-25 21:34:03 +00:00
Chong Yidong
963b20402d * hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'.
Use define-minor-mode, and make it a local mode.
	(hi-lock-mode): New global minor mode.
	(turn-on-hi-lock-if-enabled): New function.
	(hi-lock-line-face-buffer, hi-lock-face-buffer)
	(hi-lock-set-pattern): Changed arguments to regexp and face
	instead of a font-lock pattern.  Directly set face property,
	instead of refontifying.
	(hi-lock-font-lock-hook): Check if font-lock is being turned on.
	(hi-lock-find-patterns): Use line-number-at-pos.

	(hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode.  Use new
	arguments for hi-lock-set-pattern.
	(hi-lock-find-file-hook, hi-lock-current-line)
	(hi-lock-set-patterns): Deleted unused functions.

	* progmodes/compile.el (compilation-setup): Don't fiddle with
	font-lock-defaults.
2005-11-24 20:52:16 +00:00
Nick Roberts
f3220d3a39 (gdb-var-create-handler, gdb-var-list-children-handler):
Find values for all variable objects.  gud-speedbar-buttons
decides whether to display them.
2005-11-24 20:45:50 +00:00
Nick Roberts
1e906233d4 (gud-speedbar-menu-items): Add gdb-speedbar-auto-raise as radio button.
(gud-speedbar-buttons): Raise speedbar if requested.
Don't match on "char **...".
(gud-speedbar-buttons): Add (pointer) value for non-leaves.
Make it editable.
2005-11-24 00:36:03 +00:00
Nick Roberts
66395e6be0 (gdb-speedbar-auto-raise): New function and variable.
(gdb-var-create-handler, gdb-var-list-children-handler):
Don't match on "char **...".
(gdb-var-update-handler): Find values for all variable objects.
(gdb-info-frames-custom): Identify frames by leading "#".
2005-11-24 00:34:59 +00:00
Nick Roberts
5fdd4cf709 (gdb-locals-watch-keymap): Add "\r" binding to local map. 2005-11-22 03:35:33 +00:00
Nick Roberts
e03a33ea48 (gdb-locals-watch-keymap): New local map.
(gdb-struct-string, gdb-array-string): New constants.
(gdb-info-locals-handler): Use them.
(gdb-reset): Reset gdb-var-list to nil.
2005-11-22 03:10:53 +00:00
Stefan Monnier
bd24684be0 (sh-font-lock-paren): Handle continued lines in patterns. 2005-11-21 22:24:13 +00:00
Nick Roberts
f1a5d0e203 (gud-install-speedbar-variables): Bind gud-pp to "p".
(gdb): Move definition of gud-pp to gdb-ui.el.
2005-11-18 02:48:58 +00:00
Nick Roberts
4130aa2c84 (gdb-ann3): Move definition of gud-pp to here.
Make it work in the speedbar.
(gdb-find-watch-expression): New function.
2005-11-18 02:47:21 +00:00
Juri Linkov
8ec3bce045 Add :link (custom-group-link font-lock-faces) to defgroup. 2005-11-17 07:40:11 +00:00
Nick Roberts
e930091eb3 (gud-speedbar-item-info): New function.
(gud-install-speedbar-variables): Use it to display data types
of watch expression as tooltips in speedbar.
2005-11-16 11:26:34 +00:00
Nick Roberts
0b4b288e4a (gud-stop-subjob): New function.
(gud-menu-map, gud-tool-bar-map): Use it.
2005-11-16 00:55:52 +00:00
Kim F. Storm
7b75b9937c (gud-menu-map): Let [stop] stop program rather than kill it.
(gud-tool-bar-map): Likewise.  Move cont/until/finish buttons
to a more useful/logical place.
2005-11-15 22:55:48 +00:00
Nick Roberts
3525a3ee84 (gud-menu-map): Make visibility of stop and
go buttons complementary.
2005-11-15 22:37:49 +00:00
Nick Roberts
8014739509 (gud-menu-map, gud-tool-bar-map): Re-define buttons and include new ones.
(gud-tool-bar-item-visible-no-fringe): New function.
(gud-menu-map): Use it.
2005-11-15 12:27:29 +00:00
Nick Roberts
ba5ff011a8 Remove face-alias left over from change on
2005-08-15.
(gdb-ann3): New command gud-go.
(menu): Accomodate gdb-mi.el.
(gdb-assembler-custom): Make buffer of selected window current
so that set-window-point works.
2005-11-15 12:25:49 +00:00
Nick Roberts
6d41699de0 (gud-menu-map): Move parentheses (again).
(gud-speedbar-buttons): Match on "const char *" too.
2005-11-13 09:03:36 +00:00
Nick Roberts
9e772f982c (gdb-var-create-handler, gdb-var-list-children-handler):
Match on "const char *" too.
(gdb-var-evaluate-expression-handler): Match on empty string.
(gdb-var-update-handler): Only call
gdb-var-evaluate-expression-handler when required.
2005-11-13 09:02:23 +00:00
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
47b3cf39b4 (gdb-var-create-handler)
(gdb-var-evaluate-expression-handler): Handle strings properly.
(gdb-var-list-children-regexp, gdb-var-list-children-handler):
Handle strings properly.  Move "type" field into regexp.
2005-11-12 21:21:51 +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
Richard M. Stallman
8dfb3e1610 (compilation-internal-error-properties):
save-excursion around the computation of MARKER.
2005-11-07 00:49:17 +00:00
Nick Roberts
36188c5e3a (gdb-var-create-handler, gdb-var-delete)
(gdb-edit-value, gdb-speedbar-expand-node)
(gdb-get-create-buffer,  gdb-breakpoints-mode)
(gdb-toggle-breakpoint, gdb-delete-breakpoint)
(gdb-goto-breakpoint, gdb-frames-mode, gdb-registers-mode)
(gdb-locals-mode, gdb-find-file-hook): Use buffer-local-value.
(gdb-send-item, ): Use buffer-local-value and simplify.
2005-11-06 01:31:24 +00:00
Nick Roberts
6c8909e715 (gdb-buffer-type): Remove duplicate declaration.
(gdb-buffer-type): Make it automatically buffer local...
(gdb-get-create-buffer): ...and set it accordingly.
(gdb-frame-gdb-buffer, gdb-display-gdb-buffer): Make these
actually work.
2005-11-04 02:02:29 +00:00
Nick Roberts
bfd21f547c (gud-watch): Use save-selected-window in
case GUD buffer is not visible.
(gdb-goto-breakpoint): Try to force display in source buffer.
(gdb-frame-gdb-buffer): Copy other similar functions.
(gdb-restore-windows): Don't display source if not asked for.
(gdb-assembler-buffer-name): Don't capitalise.
2005-11-03 22:05:53 +00:00
Stefan Monnier
8b9e43d1ce (perl-font-lock-special-syntactic-constructs):
Rename from perl-font-lock-syntactic-face-function.
Change the calling convention so it can be used as a font-lock MATCHER.
Do the parse-partial-sexp loop outselves.
(perl-font-lock-syntactic-keywords): Use it.
(perl-mode): Don't set font-lock-syntactic-face-function any more.
2005-11-02 17:33:28 +00:00
Nick Roberts
4d7e274115 (gdb-mouse-until): Make it work in the disassembly buffer too.
(gdb-exited): Remove overlay arrows when execution has finished.
(gdb-info-frames-custom, gdb-info-threads-custom)
(gdb-info-registers-custom): Don't add inappropriate text
properties if inferior is not active.
2005-11-02 10:44:00 +00:00
Glenn Morris
7533f3b573 (fortran-blink-match): Use `blink-matching-delay'. 2005-11-02 08:30:45 +00:00
Glenn Morris
c046af9511 From John Mongan <jmongan@mccammon.ucsd.edu> (tiny change)
(f90-match-end): Use `blink-matching-delay'.
2005-11-02 08:30:25 +00:00
Masatake YAMATO
6f9a47abb5 (ld-script-builtins): Add more words: "DATA_SEGMENT_ALIGN",
"DATA_SEGMENT_END",  "DATA_SEGMENT_RELRO_END", "LENGTH", "ORIGIN",
and "SEGMENT_START".
(auto-mode-alist): Accept .ld, .lds, ld.in and .lds.in.
2005-11-01 15:45:32 +00:00
Stefan Monnier
20e3cbfd33 (scheme-mode-variables): Use the default comment-indent-function. 2005-11-01 07:31:15 +00:00
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
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
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
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
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