summaryrefslogtreecommitdiff
path: root/lisp/gdb-ui.el
Commit message (Collapse)AuthorAgeFilesLines
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-20/+20
|
* Improve commentary.Nick Roberts2003-01-141-16/+32
| | | | | | | | (gdb-window-height, gdb-window-width, gdb-display-number-end): Customize the dimensions of frames for displayed expressions. (gdb-error-begin): Comment out because it is not used because of bug/quirk in annotations. (gdb-reset): Use with-current-buffer.
* (gud-display): Use GDB command ptype instead of whatisNick Roberts2003-01-111-34/+36
| | | | | | | | to find out if variable shuld be dereferenced. (gud-display1): Exit if there is `No symbol'. (gdb-expressions-mode-map): Correction to key-binding. (gdb-reset): New function. Reset environment at end of debugging. (gdb-quit): Remove.
* Acknowledge Tom Lord as author of gdba.el.Nick Roberts2003-01-041-109/+118
| | | | | | | | | | | | | Use let construction to bind buffer-read-only to nil. (gdba): 'set height 0' in GDB. (gdb-display-end, gdb-frame-handler): Corrections to forming full expression name for header-line in display frame. (gdb-info-breakpoints-custom): Highlight breakpoints since they may be clicked on with mouse-2. (gdb-quit): Delete frames of displayed expressions when quitting. (gdb-delete-frames): New function. (gdb-source-info): Don't create stack buffer automatically.
* (gdb-delete-display): Rename (gdb-delete-expression).Nick Roberts2002-12-291-102/+109
| | | | | | | | | | | | | | | (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint). (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint). (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint). (gdb-toggle-disp-this-line): Rename (gdb-toggle-display). (gdb-delete-disp-this-line): Rename (gdb-delete-display). (gud-gdba-marker-filter): Remove unnecessary save-match-data. (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions. (gdb-frames-mouse-select): Simplify. Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc) consistent with other modes in emacs. (gdb-display-source-buffer): Return window of source buffer for (gud-display-line).
* (gdb-info-display-custom): Ensure that frames/buffersNick Roberts2002-12-261-65/+70
| | | | | | | | | of displayed expressions are deleted when the displayed expressions are deleted. (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer deletion is handled by gdb-info-display-custom now. (gdb-source-info): Undo earlier change (do create display buffer automatically).
* (gdb-display-number-end): Make auto-display ofNick Roberts2002-12-231-100/+104
| | | | | | | | expressions in GDB work on text-only terminals. (gdb-post-prompt): Compute current frame properly. (gdb-get-current-frame, gdb-frame-handler): New functions. (gdb-source-info): Move last statement into if clause. Tidy, improve documentation.
* Remove the concept of an instance. This means that a lot of functions haveNick Roberts2002-12-211-266/+250
| | | | | | | | | been renamed. Accessors are prefixed with gdb-get, setters with gdb-set and the word instance has been removed from many function and variable names. (gdb-display-buffer): Protect source buffer as well as GUD buffer when requesting new buffers. (gdb-source-info): Two changes : Don't create display buffer automatically, compute source window correctly.
* (gdba-marker-filter, gdb-output-burst): Merge andNick Roberts2002-12-171-53/+35
| | | | | | | | | | | | rename gud-gdba-marker-filter. (gdb-append-to-inferior-io): Only pop up IO buffer if there is output. (gdb-make-instance): Remove (put into gdba). Use gdb-instance-enqueue-input instead of gdb-instance-enqueue-idle-input for user functions. (gdb-instance-target-string): Simplify. (in-gdb-instance-context): Remove. Expand Commentary.
* Improve documentation strings.Nick Roberts2002-12-131-21/+24
| | | | (gdb-many-windows): Set default value to nil.
* Remove inappropriate key-bindings.Nick Roberts2002-12-081-64/+64
| | | | | | | | (gdb-info-breakpoints-custom, gdb-goto-bp-this-line): Parse correctly when breakpoint has no line number. (def-gdb-auto-update-handler, gdb-info-locals-handler), (gdb-display-end): Avoid using insert-buffer. (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select.
* Replace uses of (gdb-get-instance-buffer 'gdba) andStefan Monnier2002-12-051-73/+52
| | | | | | | | | | gdb-proc with gud-comint-buffer instead. (gdb-proc): Remove. (def-gdb-var): Simplify. (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local. Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map. (gdb-goto-bp-this-line): Select the window while doing the goto-line. (gdb-info-locals-handler): Avoid replace-regexp.
* (gud-gdb-complete-string, gud-gdb-complete-break)Stefan Monnier2002-12-051-153/+34
| | | | | | | | | | (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove. (gdba): Call `gdb' and then make modifications. Always call gdb-clear-inferior-io rather than just "the first time". (gud-break, gud-remove): Definitions moved to inside gdba. (gdb-target-name): Remove. Use gud-target-name instead. (gdba-complete-filter, gdba-common-init): Remove. The changes were integrated into the generic code.
* Fix up comment markers.Stefan Monnier2002-12-041-51/+45
|
* Fold top-level `setq's and `define-key's into their corresponding defvar.Stefan Monnier2002-12-041-166/+136
| | | | | | | | | | | | (gdb-inferior-io-mode-map): New var. Add bindings to it rather than to comint-mode-map. (gdb-display-number-end): Use dolist. Remove always-true test. (gdb-delete-line): Move and simplify. (gdb-display-end): Don't bother going to beg-of-line since we're there. (gdb-array-format1): Use dolist. (gdb-make-windows-menu, gdb-make-frames-menu): Move to top-level code. Move the menus to within the GUD menu. Make the menus only appear in gdba mode.
* (gdb-inferior-io-mode-map): Remove (unused).Stefan Monnier2002-12-041-51/+48
| | | | | | | | | | | | | | | (gdb-inferior-io-mode): Use define-minor-mode. (gdb-source-info): Don't burp if there's no source file. (gdb-inferior-io-interrupt, gdb-inferior-io-quit) (gdb-inferior-io-stop, gdb-inferior-io-eof) (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer) (gdb-display-stack-buffer, gdb-frame-stack-buffer) (gdb-display-registers-buffer, gdb-frame-registers-buffer) (gdb-display-locals-buffer, gdb-frame-locals-buffer) (gdb-display-display-buffer, gdb-frame-display-buffer) (gdb-display-gdb-buffer, gdb-frame-gdb-buffer) (gdb-display-assembler-buffer, gdb-frame-assembler-buffer): Remove the spurious left over arg from the "big reorg".
* Get rid of (quote ..); use match-string and ignore.Stefan Monnier2002-12-031-135/+94
|
* (gdba): Use the default for gud-find-file.Stefan Monnier2002-12-031-24/+15
| | | | | (def-gdb-variable): Remove: fold into def-gdb-var. (def-gdb-var): Use buffer-local-value and with-current-buffer.
* (gdba, gdb-starting, gdb-stopped, gdb-quit): Update gdb-running -> gud-running.Stefan Monnier2002-12-031-4/+10
|
* (gdb-many-windows): Define as a minor mode.Nick Roberts2002-11-301-32/+7
| | | | (toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
* (gdb-starting): Set gdb-running to t.Nick Roberts2002-11-281-44/+37
| | | | | (gdb-stopped): Set gdb-running to nil. (gdb-quit): Reset some variables including tool-bar-map.
* Major re-organisation. Simplify legacy gdba code to allow only one gdb process.Nick Roberts2002-11-231-525/+395
|
* General tidying. Patches from Stefan Monnier.Nick Roberts2002-11-211-28/+47
|
* Fix feature name in `require'.Juanma Barranquero2002-11-141-10/+10
|
* New file.Nick Roberts2002-11-141-0/+2610