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

2820 Commits

Author SHA1 Message Date
Nick Roberts
201f5b5f6a (gdb-continuation): Declare earlier to prevent compiler warnings.
(gdb-stopped): Check for gud-last-last-frame (case: signal).
(breakpoint-disabled): Make lighter for contrast with overlay
arrow.
(gdb-assembler-custom): Use hollow-right-triangle for assembler
buffer too.
2006-03-23 23:52:11 +00:00
Kim F. Storm
4b479fae31 (gdb-reset): Set buffer local value of
fringe-indicator-alist instead of modifying global value.
(gdb-frame-handler): Likewise.
2006-03-21 13:30:56 +00:00
Nick Roberts
5dfe9b2b89 (hollow-right-triangle): Define as fringe bitmap.
(gdb-info-stack-custom): Rename from gdb-info-frames-custom and
change names in macro above for consistency.
(gdb-frame-handler): Use hollow-right-triangle for all selected
frames which except the innermost (where execution has stopped).
(gdb-reset): Reset buffer-local values of overlay-arrow.
2006-03-21 10:16:34 +00:00
Nick Roberts
cca5ad5c45 (gdb-stopped): Even when there is no source
annotation ensure gud-overlay-arrow-position is redisplayed.
2006-03-19 23:15:40 +00:00
Nick Roberts
afe28525db (gud-gdb-complete-command, gud-gdb-run-command-fetch-lines): Adapt for use
with watch expressions.
(gud-tooltip-mode): Use buffer-local value.
2006-03-16 22:56:18 +00:00
Nick Roberts
2a166e260c (gud-watch): Provide completion.
(gdb-continuation): New variable.
(gdb-send): Deal with continuation lines.
2006-03-16 22:55:00 +00:00
Nick Roberts
be08da22a6 (gdb-inferior-status): New variable.
(gdb-force-mode-line-update): New function.
(gdb-resync, gdb-starting, gdb-signal, gdb-exited, gdb-stopped)
(gdb-exited): Use them.
(gdb-signal): New fuction.
(gdb-annotation-rules): Provide a rule for it.
2006-03-16 07:29:18 +00:00
Stefan Monnier
4ffc92c2d8 * font-lock.el (font-lock-lines-before): Delete variable, subsumed by
the new extend-region feature.
(font-lock-after-change-function): Update correspondingly.
* jit-lock.el (jit-lock-after-change): Update correspondingly.
* progmodes/grep.el (font-lock-lines-before): Don't disable.
* modes.texi (Region to Fontify): Remove font-lock-lines-before.
2006-03-15 22:26:09 +00:00
Nick Roberts
4ea252326a (gud-speedbar-buttons): Follow change to gdb-var-list. 2006-03-14 20:27:57 +00:00
Nick Roberts
37c7ef1762 (gdb-var-list): Change order of first two elements.
(gdb-find-watch-expression): Make it work for arrays too.  Follow
change to gdb-var-list.
(gud-watch): Allow the user to enter variable name with a prexix
arg.  Create keybindings.
(gdb-var-create-handler, gdb-var-evaluate-expression-handler)
(gdb-var-list-children-handler, gdb-var-update-handler)
(gdb-var-delete, gdb-edit-value, gdb-speedbar-expand-node)
(gdb-var-list-children-handler-1, gdb-var-update-handler-1):
Follow change to gdb-var-list.
(gdb-starting): Don't show the overlay arrows when program is
running.
2006-03-14 20:26:57 +00:00
Nick Roberts
374f0c9131 (gdb-stack-list-locals-handler): Add local
map if value is hexadecimal (an address).
(gud-watch): Only search roots for existing watch expressions.
(gdb-speedbar-refresh): Bind speedbar-shown-directories to nil to
prevent caching problems with speedbar-update-directory-contents.
2006-03-12 14:19:13 +00:00
Eli Zaretskii
0c93f71581 (octave-indent-for-comment): Behave according to do string. 2006-03-11 15:11:09 +00:00
Nick Roberts
a2c7d24faf (gdb-remove-text-properties): Rename from
gdb-remove-mouse-face and remove help-echo too.
(gdb-enqueue-input): Correct conditional clause.
2006-03-10 20:06:33 +00:00
Nick Roberts
4a7d75e8b2 (gdba): Don't call gdb-init-1 explicitly as
it gets called in gdb-prompt anyway.
(gdb-use-separate-io-buffer): Only restore window arrangement for
gdb-many-windows.
(gdb-enqueue-input): Make it harder to send GDB input when program
is running.
(gdb-buffer-list): New variable.
(gdb-remove-mouse-face): New function.
(gdb-starting): Use it when GDB input won't get sent.
2006-03-10 02:40:31 +00:00
Nick Roberts
19bf3d3fa4 (gud-speedbar-buttons): Allow pointers to
be edited and use font-lock-warning-face for any changes.
2006-03-07 10:43:19 +00:00
Nick Roberts
d35e063ae3 (gdb-edit-value-handler): New function.
(gdb-edit-value): Use it to report any errors.
2006-03-07 10:42:19 +00:00
Luc Teirlinck
bfc5033751 (gud-tooltip-dereference): Add missing optional argument. 2006-03-06 01:46:41 +00:00
Luc Teirlinck
40813c0814 (gud-jdb-marker-filter): Double quote `[' in regexp for Lisp syntax. 2006-03-06 01:28:54 +00:00
Nick Roberts
92219924c8 (gdb-speedbar-refresh): Quieten speedbar-refresh. 2006-03-01 22:44:19 +00:00
Nick Roberts
f4eb22689d (gud-speedbar-menu-items): Use
buffer-local-value and add missing :visible keyword.
2006-03-01 22:43:29 +00:00
Nick Roberts
7dda19092f (gdb-speedbar-refresh): Rename from
gdb-speedbar-timer-fn.  Use speedbar-refresh instead of
speedbar-timer-fn
(gdb-var-update-handler, gdb-var-update-handler-1): Use it.
(gdb-speedbar-expand-node): Use speedbar-delete-subblock
instead of gdb-speedbar-timer-fn.
(gdb-edit-value):
2006-02-28 21:52:30 +00:00
Nick Roberts
5674718576 (gud-display-line): Use gdb-display-source-buffer
for gdb-ui/gdb-mi (old concept).
2006-02-27 09:15:58 +00:00
Nick Roberts
f27d4d6cdb (gdb-source-window): New variable.
Re-introduce the concept of a source window.
(gdb-get-buffer-create): Rename from gdb-get-create-buffer for
consistency with get-buffer-create.
(def-gdb-auto-update-handler, gdb-info-locals-handler)
(gdb-data-list-register-values-handler)
(gdb-stack-list-locals-handler): Try to preserve window-start as
well as window-point.
(gdb-display-source-buffer): New function (old concept).
(gdb-goto-breakpoint): Use it.
2006-02-27 09:14:59 +00:00
Thien-Thi Nguyen
19cd88cc93 (sh-mode): Fix bug: Arrange to use
the default shell if filename is not available.
2006-02-25 11:25:25 +00:00
Francesco Potortì
f37de644fd (tags-completion-table): Do completion from all the tables in the
current list, as documented in the manual.
2006-02-25 01:48:09 +00:00
Alan Mackenzie
cb694ab730 cc-align.el, cc-awk.el, cc-bytecomp.el, cc-cmds.el, cc-compat.el,
cc-defs.el, cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el,
cc-mode.el, cc-styles.el, cc-subword.el, cc-vars.el:  Add 2006 to the
copyright statement.

cc-awk.el: (c-awk-after-change): Protect the match data with
save-match-data.  It was being corrupted when Font Lock was not enabled.
(ii): Fix a typo.

cc-cmds.el, cc-mode.el, cc-engine.el (c-update-modeline): Concatenate the
minor mode indicators directly onto mode-name, removing
c-submode-indicators.  Sometimes, c-s-i got separated from the mode name
on the mode line.

cc-cmds.el, cc-mode.el: Rename c-hungry-backspace to
c-hungry-delete-backwards, at the request of RMS.  Leave the old name as
an alias.

cc-cmds.el (c-electric-brace, c-electric-semi&comma, c-electric-colon):
Correct doc-strings: "/ln" -> "/la".

cc-cmds.el (c-electric-brace): Fix clean-up brace-else-brace (error due
to mbeg, mend being undefined).

cc-defs.el (c-version): Update to 5.31.3.

cc-defs.el: [Supersedes patch V1.38]: (top level): Check for a buggy
font-lock-compile-keywords ONLY in XEmacs.  GNU Emacs 22 now has a check
which would throw an error here.

cc-engine.el (c-beginning-of-statement-1): Clarify doc-string and
comments.  Distinguish real labels ("case 1:" or "foo:") from non-labels
("public:").

cc-engine.el (c-after-change-check-<>-operators): Remove save-match-data,
reversing change for V1.45.  save-match-data is now in c-after-change.

cc-engine.el (c-forward-objc-directive): Replace c-forward-token-2 with
crude coding; c-f-t-2 doesn't move over a token at EOB.  Objc Mode was
hanging after typing, e.g., "@implementation".

cc-langs.el (c-filter-ops): Made it available at runtime too to work when
`c-make-init-lang-vars-fun' needs to evaluate from source.

cc-langs.el (c-make-init-lang-vars-fun): Improved the error message when
there's an evaluation error to show whether it's loaded from source or
not.
(c-mode-menu): Add menu items for Electric Mode and Subword Mode.

cc-mode.el (c-after-change): Protect the match data with save-match-data.
It was getting corrupted by c-after-change-check-<>-operators.

cc-mode.el: File Local variables: Solve the problem where both `mode' and
c-file-offsets are specified: `mode' will overwrite c-f-o's settings:
(c-remove-any-local-eval-or-mode-variables): new function.
(c-postprocess-file-styles): call the above new function, within
c-tentative-buffer-change, to splat `mode' and `eval' before the second
hack-local-variables.
2006-02-24 15:33:02 +00:00
Stefan Monnier
c57a573fea Remove unnecessary leading * in docstrings. 2006-02-23 16:35:41 +00:00
Nick Roberts
7efc64d4be (gud-speedbar-buttons): Use shadow face properly. 2006-02-23 07:40:25 +00:00
Nick Roberts
a5de75080d (gdb-debug-ring-max): Rename from gdb-debug-log-length.
(gdb-debug-ring): Rename from gdb-debug-log-ring.  Don't make
it a real ring but...
(gud-gdba-marker-filter): ...make it work like mark-ring.
(gdb-enable-debug): Rename from gdb-enable-debug-log.
(gdb-mouse-jump): New function.  Add bindings.
2006-02-23 07:38:57 +00:00
Nick Roberts
e75116edb6 (gdb-signalled): New variable and function.
(gdb-debug-log-ring): Rename from gdb-debug-log and make a ring.
(gdb-send, gdb-send-item, gud-gdba-marker-filter): Use it.
(gdb-debug-log-length): Customize it's length.
(gud-watch, gdb-var-create-handler): Display function::var format
but don't use to create variable object.
(gdb-var-create-handler): Use message-box in place of message.
(gdb-stopped): Call gdb-exited if signalled.
2006-02-22 22:01:35 +00:00
Richard M. Stallman
f623a9d2e6 (sh-mode): Set shell type based on file name if no other specific basis. 2006-02-21 19:55:46 +00:00
Nick Roberts
958ac655e6 (gdb-speedbar-auto-raise): Don't enable by default. 2006-02-20 21:48:49 +00:00
Nick Roberts
cb0ea01ead (gud-speedbar-buttons): Use shadow face for all out of scope components. 2006-02-20 21:47:56 +00:00
Nick Roberts
ffb2cf00c2 (gdb-speedbar-expand-node): Force update of speedbar. 2006-02-20 00:03:15 +00:00
Nick Roberts
6d210c9d81 (gud-speedbar-buttons): Fontify watch expessions. 2006-02-20 00:02:22 +00:00
Nick Roberts
e5538a995c (gdb-force-update): Rename from gdb-var-changed.
(gdb-post-prompt): Use it.
(gdb-var-create-handler, gdb-var-evaluate-expression-handler)
(gdb-var-update-handler, gdb-var-delete)
(gdb-speedbar-expand-node, gdb-var-list-children-handler-1)
(gdb-var-update-handler-1): Don't set gdb-var-changed, just set
gdb-force-update in gdb-post-prompt.
(gdb-reset): Clear watch expressions from speedbar when quitting.
2006-02-19 05:21:50 +00:00
Nick Roberts
672162f3de Don't require font-lock as it's now automatically loaded.
(gud-speedbar-buttons): Replace gdb-var-changed with gdb-force-update.
2006-02-19 05:20:44 +00:00
Nick Roberts
054d409eaf (gdb-var-evaluate-expression-handler)
(gdb-var-update-handler): Detect out of scope variables with pre
GDB 6.4 too.
(gdb-post-prompt): Revert changet 2006-02-17 (force update).
Reset status of variable objexts to nil in update handlers.
(gdb-var-update-handler-1): Detect when a variable object comes
in scope.  setcar on var changes gdb-var-list directly.
2006-02-18 22:58:26 +00:00
Nick Roberts
02a471b435 (gud-speedbar-buttons): Update properly for
shadow face.  Don't provide binding to edit variable when it is
out of scope.
2006-02-18 22:57:05 +00:00
Nick Roberts
bbcc52157b (gdb-var-list): Update doc string.
(gdb-init-1, gdb-var-changed): Set gdb-var-changed to t initially.
(gdb-show-changed-values): Also use for out of scope variables.
(gdb-var-update-handler-1): Note if variable goes out of scope.
2006-02-17 11:51:38 +00:00
Nick Roberts
2ec58220f8 (gud-speedbar-buttons): Use shadow face for
out of scope variables.
(gud-speedbar-buttons): Use unless.
2006-02-17 11:50:48 +00:00
Nick Roberts
b32d1b9b01 (gdba, gdb-var-list): Improve doc strings.
(menu): Re-order menu items.
(gdb-var-update-regexp, gdb-var-update-regexp-1): Match "in_scope" field.
(gdb-var-update-handler-1): Use it for GDB 6.4+.
(gdb-post-prompt): Speed things by not forcing update.
2006-02-17 00:25:16 +00:00
Nick Roberts
b5c5d21640 (gdba): Improve doc string.
(menu): Re-order menu items.
2006-02-16 20:47:06 +00:00
Juanma Barranquero
57d3a1f359 (flymake-fix-file-name): Fix typo in docstring. 2006-02-16 11:40:51 +00:00
Nick Roberts
cb851ef5d9 (gdb-display-separate-io-buffer): Change use of
gdb-use-inferior-io-buffer to gdb-use-separate-io-buffer
(missed in previous change).
2006-02-14 22:19:26 +00:00
Nick Roberts
b5e5e9f2a0 (gdb-use-separate-io-buffer)
(gdb-display-separate-io-buffer, gdb-frame-separate-io-buffer)
(gdb-separate-io-interrupt, gdb-separate-io-quit)
(gdb-separate-io-stop, gdb-separate-io-eof):
Rename from gdb-inferior-* to gdb-separate-*.
(gdb-set-gud-minor-mode-existing-buffers-1): Improve doc string.
2006-02-14 22:03:20 +00:00
Nick Roberts
ee75f8b7ae (gdb): Improve doc string.
(gdb-script-font-lock-keywords): Expand allowed character set.
2006-02-14 22:02:21 +00:00
Nick Roberts
621b3aac56 (gud-watch, gdb-invalidate-registers-1)
(gdb-get-changed-registers): Test value of gud-minor-mode relative
to gud-comint-buffer.
(gdb-speedbar-expand-node, gdb-locals-mode): Use functions in
gdb-ui.el for gdb-mi.el.
(gdb-post-prompt, gdb-get-changed-registers): Move test for
registers buffer to gdb-get-changed-registers.
(gdb-breakpoint-regexp): New regexp.  Allow toggling and
deletion of catchpoints (throw and catch).
(gdb-toggle-breakpoint, gdb-delete-breakpoint)
(gdb-goto-breakpoint): Use it for both gdb-ui and gdb-mi.
(gdb-find-file-hook, gdb-set-gud-minor-mode-existing-buffers-1)
(gdb-var-list-children-1, gdb-info-breakpoints-custom)
(gdb-var-update-1, gdb-invalidate-locals-1): Use also for gdb-mi.
2006-02-13 21:59:45 +00:00
Richard M. Stallman
79657d524c (ebrowse-global-prefix-key): Change to C-c C-m. 2006-02-12 20:27:51 +00:00
Eli Zaretskii
0810857709 (glasses-separator): Doc fix.
(glasses-original-separator): New defcustom.
(glasses-make-readable, glasses-convert-to-unreadable): Use it.
2006-02-11 11:46:15 +00:00