1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Nick Roberts
d408a783f8 (breakpoint-enabled-icon, breakpoint-disabled-icon):
Include bitmap data for monochrome display.
(breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data):
New constants.
2003-05-03 22:20:57 +00:00
Nick Roberts
50df05be57 (gdb-inferior-io-mode): Remove Unix pathname for cat
so that it can run on NT also.
2003-03-31 21:23:45 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Nick Roberts
377f175fe2 Improve commentary.
(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.
2003-01-14 23:58:13 +00:00
Nick Roberts
94b83c8540 (gud-display): Use GDB command ptype instead of whatis
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.
2003-01-11 16:47:33 +00:00
Nick Roberts
82ab9672da Acknowledge Tom Lord as author of gdba.el.
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.
2003-01-04 22:45:39 +00:00
Nick Roberts
5c39e45a0c (gdb-delete-display): Rename (gdb-delete-expression).
(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).
2002-12-29 20:46:41 +00:00
Nick Roberts
217aa7d7b7 (gdb-info-display-custom): Ensure that frames/buffers
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).
2002-12-26 00:12:09 +00:00
Nick Roberts
11eb20e049 (gdb-display-number-end): Make auto-display of
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.
2002-12-23 21:43:46 +00:00
Nick Roberts
02a0d085b2 Remove the concept of an instance. This means that a lot of functions have
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.
2002-12-21 23:00:12 +00:00
Nick Roberts
28a771bf30 (gdba-marker-filter, gdb-output-burst): Merge and
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.
2002-12-17 23:40:06 +00:00
Nick Roberts
b9d113dadd Improve documentation strings.
(gdb-many-windows): Set default value to nil.
2002-12-13 00:41:36 +00:00
Nick Roberts
f6c6513209 Remove inappropriate key-bindings.
(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.
2002-12-08 01:29:31 +00:00
Stefan Monnier
43eaf8f7c2 Replace uses of (gdb-get-instance-buffer 'gdba) and
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.
2002-12-05 21:45:11 +00:00
Stefan Monnier
7dcca9f502 (gud-gdb-complete-string, gud-gdb-complete-break)
(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.
2002-12-05 17:03:06 +00:00
Stefan Monnier
fb113260f0 Fix up comment markers. 2002-12-04 18:52:48 +00:00
Stefan Monnier
b4795045fc Fold top-level setq's and define-key's into their corresponding defvar.
(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.
2002-12-04 18:43:59 +00:00
Stefan Monnier
8d594498d7 (gdb-inferior-io-mode-map): Remove (unused).
(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".
2002-12-04 17:20:06 +00:00
Stefan Monnier
e0823361bc Get rid of (quote ..); use match-string and ignore. 2002-12-03 22:24:21 +00:00
Stefan Monnier
65d7dd2e57 (gdba): Use the default for gud-find-file.
(def-gdb-variable): Remove: fold into def-gdb-var.
(def-gdb-var): Use buffer-local-value and with-current-buffer.
2002-12-03 21:40:47 +00:00
Stefan Monnier
f5016b6f0a (gdba, gdb-starting, gdb-stopped, gdb-quit): Update gdb-running -> gud-running. 2002-12-03 21:11:15 +00:00
Nick Roberts
e057060c2d (gdb-many-windows): Define as a minor mode.
(toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
2002-11-30 20:57:48 +00:00
Nick Roberts
e6e1f54fa5 (gdb-starting): Set gdb-running to t.
(gdb-stopped): Set gdb-running to nil.
(gdb-quit): Reset some variables including tool-bar-map.
2002-11-28 21:24:19 +00:00
Nick Roberts
a922c25a24 Major re-organisation. Simplify legacy gdba code to allow only one gdb process. 2002-11-23 14:09:26 +00:00
Nick Roberts
71227e306c General tidying. Patches from Stefan Monnier. 2002-11-21 21:07:01 +00:00
Juanma Barranquero
4792bde6cc Fix feature name in `require'. 2002-11-14 08:57:24 +00:00
Nick Roberts
035ca7627f New file. 2002-11-14 01:53:27 +00:00