summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gdb-ui.el
Commit message (Collapse)AuthorAgeFilesLines
* Merge from emacs--rel--22Miles Bader2008-05-021-3/+4
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1139
| * (gdb-info-breakpoints-custom): Don't throw error if no file is found.Nick Roberts2008-05-011-3/+4
| |
* | (gdb-frame-handler-1): Make overlay arrowNick Roberts2008-04-301-5/+20
| | | | | | | | hollow if not in innermost frame.
* | (gdb-display-buffer): Don't pop up GUD buffer.Nick Roberts2008-04-291-21/+10
| | | | | | | | | | | | | | Always split windows. (gdb-speedbar-timer-fn): Only raise frame after user input. (gdb-same-frame): Reverse initial value. (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
* | Merge from emacs--rel--22Miles Bader2008-04-291-39/+38
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1132
| * (gdb-info-breakpoints-custom): Fix mismatched parentheses.Nick Roberts2008-04-281-58/+58
| |
| * (gdb-info-breakpoints-custom): Make breakpointNick Roberts2008-04-281-35/+34
| | | | | | | | | | | | icons work for assembler, i.e. FILE.s, FILE.S (not disassembly). (gdb-goto-breakpoint): Likewise for visiting breakpoints. (gdb-assembler-custom): Be careful not to match other addresses.
* | (gdb-info-stack-custom): UseNick Roberts2008-04-291-21/+24
| | | | | | | | | | | | | | gud-tool-bar-item-visible-no-fringe. (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer is already visible in frame. Remove optional size parameter and add optional frame parameter.
* | (gud-watch): Don't create speedbar...Nick Roberts2008-04-251-11/+13
| | | | | | | | | | | | (gdb-var-create-handler): ...until here when there are values. (gdb-post-prompt): Don't do -var-update with no watch expressions. (gdb-info-locals-handler): Don't match "struct {...}" as an array.
* | (gdb-invalidate-assembler): Compare numericNick Roberts2008-04-241-0/+7
| | | | | | | | | | | | | | | | value of addresses rather than (partial) string value. (gdb-frame-handler): Change regexp according to above change. (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode) (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode) (gdb-assembler-mode): Disable undo in these buffers.
* | (gdb-invalidate-assembler): Compare numericNick Roberts2008-04-241-6/+5
| | | | | | | | | | value of addresses rather than (partial) string value. (gdb-frame-handler): Change regexp according to above change.
* | Merge from emacs--rel--22Miles Bader2008-04-231-23/+14
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
| * (gdb-init-buffer): New function.Nick Roberts2008-04-121-23/+14
| | | | | | | | | | | | | | | | (gdb-set-gud-minor-mode-existing-buffers) (gdb-info-breakpoints-custom, gdb-get-location) (gdb-set-gud-minor-mode-existing-buffers-1): Use it. Previously gdb-create-define-alist wasn't always run and added to after-save-hook.
* | (gdb-previous-frame-address): Rename...Nick Roberts2008-04-231-8/+34
| | | | | | | | | | | | | | | | (gdb-previous-frame-pc-address): ...to this. (gdb-get-selected-frame): Use MI command -stack-info-frame instead of "info frame" with Gdb 6.4+. (gdb-stack-list-frames-regexp): New regexp. (gdb-frame-handler-1): Parse output of -stack-info-frame
* | (gud-watch): Add "$" prefix when in registers buffer.Nick Roberts2008-04-221-1/+2
| |
* | (gdb-locals-header): New variable.Nick Roberts2008-04-221-9/+38
| | | | | | | | (gdb-locals-mode, gdb-registers-mode): Use it for header line.
* | (gdbmi-invalidate-frames): Declare as function.Glenn Morris2008-04-221-0/+2
| |
* | (gdb-mouse-set-clear-breakpoint): SelectNick Roberts2008-04-191-30/+52
| | | | | | | | | | | | | | | | window clicked on first (regression in 22.2). (gdb): Display thread number in mode-line. (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings. (gdb-breakpoints-header): New variable. (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
* | (gdb-thread-indicator): New variable.Nick Roberts2008-04-191-6/+24
| | | | | | | | | | | | | | | | | | | | (gdb-init-1): Initialise it. (gdb-annotation-rules): New entry for "new-thread". (gdb-thread-identification): New function to customize mode-line-buffer-identification. (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode) (gdb-assembler-mode): Use it. (gdb-threads-mode): Force "info threads" onto queue.
* | (gdb-stack-update): New variable.Nick Roberts2008-04-171-1/+33
| | | | | | | | | | | | | | | | | | | | (gdb, gdb-starting, gdb-frames-mode): Use it. (gdb-invalidate-frames): Advise to call "info stack" only if execution has occurred. (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to selected frame if no execution has occurred. (gdb-frames-force-update): New interactive function. (gdb-frames-mode-map): Bind it to "F".
* | (gdb-find-source-frame): Improve doc string.Nick Roberts2008-04-121-3/+8
| | | | | | | | (menu): Add/expand menu tooltips.
* | (gdb): New group.Nick Roberts2008-04-061-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | (gdb-debug-log-max, gdb-enable-debug) (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags) (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer) (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation) (gdb-show-changed-values, gdb-max-children) (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame) (breakpoint-enabled, breakpoint-disabled, gdb-max-frames) (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format) (gdb-memory-unit): Move to new group from GUD group. (menu): Allow customization from GDB-UI menu-item.
* | Merge from emacs--rel--22Miles Bader2008-04-051-0/+8
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
| * (gdb-mouse-set-clear-breakpoint):Nick Roberts2008-04-031-1/+1
| | | | | | | | Fix in disassembly buffer (regression in 22.2).
| * Add advice about using Cygwin GDB (from aNick Roberts2008-03-101-0/+8
| | | | | | | | thread in [h-e-w]).
* | (gdb-mouse-set-clear-breakpoint):Nick Roberts2008-04-031-2/+3
| | | | | | | | Fix in disassembly buffer (regression in 22.2).
* | Merge from emacs--rel--22Miles Bader2008-03-011-25/+23
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1090
| * (gdb-pc-address, gdb-source-file-list, gdb-cpp-define-alist-program,Juanma Barranquero2008-02-261-25/+23
| | | | | | | | | | | | | | gdb-mouse-jump, gdb-get-buffer-create, gdb-debug-log, gdb-set-gud-minor-mode-existing-buffers-1): Fix typos in docstrings. (gdb-pending-triggers): Reflow docstring. (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
* | (gdb-info-stack-custom): ApplyNick Roberts2008-02-291-4/+1
| | | | | | | | | | function-name-face correctly when user has "set print address off".
* | Merge from emacs--rel--22Miles Bader2008-02-241-9/+15
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
| * (gdb-mouse-set-clear-breakpoint): Fall backNick Roberts2008-02-201-9/+11
| | | | | | | | to mouse-set-point in buffers that aren't associated with files.
| * (gdba): Recreate as an alias for gdb.Nick Roberts2008-02-191-1/+5
| | | | | | | | | | (gdb): (Re)set gdb-flush-pending-output to nil here... (gdb-init-1): ...instead of here (before gdb-prompt).
* | (gdb-output-sink): Define with an invalid value.Stefan Monnier2008-02-191-1/+2
| | | | | | | | (gdb): Initialize it here instead.
* | (gdb-ready): Move declaration from gud.el to here.Nick Roberts2008-02-161-19/+28
| | | | | | | | | | | | | | | | | | (gdb-early-user-input): New variable. (gdb): Reset gdb-flush-pending-output to nil and set comint-input-sender here (before gdb-prompt), instead of... (gdb-init-1): ...here. (gdb-send): If Emacs is not ready, defer user input to... (gdb-prompt): ...here.
* | Merge from emacs--rel--22Miles Bader2008-01-311-3/+12
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1028
| * (gdb-var-set-format-regexp): New constant.Nick Roberts2008-01-301-3/+12
| | | | | | | | | | (gdb-var-set-format-handler): New function. (gdb-var-set-format): Use it.
* | Merge from emacs--rel--22Miles Bader2008-01-291-3/+3
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1021
| * (gdb-create-define-alist): Don't callNick Roberts2008-01-271-3/+3
| | | | | | | | | | gdb-cpp-define-alist-program if file is nil (currently only " *partial-output-...").
* | Merge from emacs--rel--22Miles Bader2008-01-221-5/+8
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
| * (gdb-dequeue-input): Make doubly sureNick Roberts2008-01-101-5/+8
| | | | | | | | | | | | session doesn't hang because gdb-pending-triggers is non-nil. (gdb-frame-handler): Use buffer-file-name instead of buffer-name in case of duplicate file names.
* | Merge from emacs--rel--22Miles Bader2008-01-081-7/+21
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * (gdb-var-list-children-1): Put varnum inNick Roberts2008-01-081-3/+3
| | | | | | | | quotes in case of spaces, e.g. STL containers (not pretty).
| * (gud-gdb-command-name): ExplainNick Roberts2008-01-071-1/+3
| | | | | | | | "--annotate=3" option is necessary for the Graphical Interface.
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
| * (gdb-var-set-format): Set the output formatNick Roberts2008-01-031-2/+14
| | | | | | | | of watch expressions (only works fully with GDB 6.7 or later).
| * Update commentary.Nick Roberts2007-11-191-22/+19
| |
| * (gdb-parent-bptno-enabled): New variable.Nick Roberts2007-11-141-42/+52
| | | | | | | | | | | | | | | | | | | | (gdb-breakpoint-regexp, gdb-mouse-toggle-breakpoint-margin) (gdb-mouse-toggle-breakpoint-fringe, gdb-delete-breakpoint) (gdb-goto-breakpoint): Generalise for breakpoints with multiple locations. (gdb-info-breakpoints-custom, gdb-assembler-custom) (gdb-toggle-breakpoint): Update for new gdb-breakpoint-regexp. (gdb-put-breakpoint-icon): Only display icon for parent breakpoint.
* | (gud-remove, gud-break): Declare as functions.Glenn Morris2007-12-011-0/+3
| |
* | Update commentary.Nick Roberts2007-11-191-22/+19
| |
* | (gdb-parent-bptno-enabled): New variable.Nick Roberts2007-11-141-42/+52
|/ | | | | | | | | | (gdb-breakpoint-regexp, gdb-mouse-toggle-breakpoint-margin) (gdb-mouse-toggle-breakpoint-fringe, gdb-delete-breakpoint) (gdb-goto-breakpoint): Generalise for breakpoints with multiple locations. (gdb-info-breakpoints-custom, gdb-assembler-custom) (gdb-toggle-breakpoint): Update for new gdb-breakpoint-regexp. (gdb-put-breakpoint-icon): Only display icon for parent breakpoint.