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

2836 Commits

Author SHA1 Message Date
Nick Roberts
12c83f528c (gdb-set-gud-minor-mode-existing-buffers):
GDB 6.1+ gives full filename for "info sources" so use
file-name-nondirectory.
2006-04-13 01:38:24 +00:00
Stefan Monnier
16a3b9b72c (perl-indent-new-calculate): Recompute parse-start after jumping backward by
a whole sexp.
2006-04-12 05:11:12 +00:00
Nick Roberts
caf2f94459 (gdb-init-1): Re-initialise gdb-main-file to nil.
(gdb-get-version): Make it work for pre "interpreter mi" (GDB 5.3?).
(gdb-setup-windows): Put something in source window if we can't find
the source file.
(gdb-frame-handler): Make it work again with just assembly.
(gdb-data-list-register-values-handler): Make it work when there is
no stack.
2006-04-10 09:18:11 +00:00
Nick Roberts
4d91dd05aa (gdb-init-2): Set current filename using
GDB list command without argument for greater generality.
2006-04-07 11:20:39 +00:00
Miles Bader
667832a118 Add arch tagline 2006-04-07 06:05:50 +00:00
J.D. Smith
8fe9dc245d Removed spurious require, avoiding recursive loads. 2006-04-06 19:23:33 +00:00
J.D. Smith
cbc285b245 One more copyright year. 2006-04-06 18:53:48 +00:00
J.D. Smith
8013e86617 Restored copyright. 2006-04-06 18:52:56 +00:00
J.D. Smith
906a2f1a6c File obsoleted. IDLWAVE 6.0 now parses XML routine info catalog file
distributed with IDL.
2006-04-06 18:49:01 +00:00
J.D. Smith
f66f03dec5 Update to IDLWAVE version 6.0; see idlwave.org. Includes code to
obsolete idlw-rinfo.el.
2006-04-06 18:47:37 +00:00
J.D. Smith
1af825358c Update to IDLWAVE version 6.0; see idlwave.org. 2006-04-06 18:46:56 +00:00
J.D. Smith
8e0b12d3cf Update copyright, change version. 2006-04-06 18:42:40 +00:00
Richard M. Stallman
f4beca066c (compilation-message-face): Make it defcustom. 2006-04-02 20:21:11 +00:00
Andreas Schwab
d6e4b78595 (gdb): Only complain about multiple debugging
when the gdb process is still running.
2006-03-26 17:24:02 +00:00
Nick Roberts
b19f320523 (gdba): Revert 2006-03-10 change for case of "run" in .gdbinit.
(gdb-var-create-regexp): Remove "^done" prefix for gdb-mi.el.
2006-03-25 00:09:15 +00:00
Nick Roberts
8928c512e4 (gdb-var-create-regexp)
(gdb-var-list-children-regexp, gdb-var-update-regexp)
(gdb-var-list-children-regexp-1, gdb-var-update-regexp-1)
(gdb-data-list-register-values-regexp)
(gdb-stack-list-locals-regexp, gdb-stack-list-locals-handler):
Future proof against new fields being added to MI output.
(gdb-send): Don't treat backslashes for program input as
continuations.
(gdb-assembler-handler): Don't use window-start for this handler.
(gdb-frame-handler): Don't change to hollow arrow if overlay
arrow doesn't move to new frame.
2006-03-24 12:38:31 +00:00
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