Commit graph

274 commits

Author SHA1 Message Date
Nick Roberts
bc676c5840 (gdb-var-list-children-1): Put varnum in
quotes in case of spaces, e.g. STL containers (not pretty).
2008-01-08 01:59:29 +00:00
Nick Roberts
6e498a9766 (gud-gdb-command-name): Explain
"--annotate=3" option is necessary for the Graphical Interface.
2008-01-07 03:51:03 +00:00
Glenn Morris
4e643dd23c Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
Nick Roberts
b3dac3299c (gdb-var-set-format): Set the output format
of watch expressions (only works fully with GDB 6.7 or later).
2008-01-03 21:58:33 +00:00
Glenn Morris
3092d1fbdb (gud-remove, gud-break): Declare as functions. 2007-12-01 02:34:09 +00:00
Nick Roberts
cc6546c9c7 Update commentary. 2007-11-19 07:34:18 +00:00
Nick Roberts
1030a7b3f8 Update commentary. 2007-11-19 07:26:01 +00:00
Nick Roberts
d4b9f75c42 (gdb-parent-bptno-enabled): New variable.
(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.
2007-11-14 09:05:26 +00:00
Nick Roberts
266e779b86 (gdb-parent-bptno-enabled): New variable.
(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.
2007-11-14 08:59:16 +00:00
Nick Roberts
f8fef1ceba (gdb-delete-out-of-scope): New option.
(gdb-var-update-handler-1): Use it.
2007-10-30 05:37:34 +00:00
Nick Roberts
31c4b81d81 (gdb-info-stack-custom): Ensure current frame is visible. 2007-10-11 04:23:29 +00:00
Nick Roberts
4d4cc7800d (gud-gdb-command-name, gdb): Move here from gud.el and adapt doc string.
(gud-gdba-command-name, gdba): Delete.
2007-10-04 07:44:28 +00:00
Nick Roberts
89525f8b2b (gdb-init-1): Don't set the values
gud-minor-mode and gud-marker-filter.
(gdb-fullname-regexp): New variable.
(gud-gdba-marker-filter): Use it to switch to text command
mode if appropriate.
2007-10-02 10:57:03 +00:00
Nick Roberts
9558a54ac7 (gdba, gdb-send, gdb-source-info):
Use gdb-ready.  Discard input until GDB is ready to accept it.
2007-09-15 08:09:07 +00:00
Nick Roberts
cdf71ff2ef (gdb-send): Handle CTRL-D more carefully. 2007-08-13 09:28:31 +00:00
Glenn Morris
e7f767c25e Replace `iff' in doc-strings and comments. 2007-08-08 07:34:30 +00:00
Glenn Morris
1a484753b2 Switch license to GPLv3 or later. 2007-07-25 04:29:40 +00:00
Dan Nicolaescu
5183d4c9a9 * replace.el (match): Use yellow1 instead of yellow.
* progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
red.

* pcvs-info.el (cvs-unknown): Likewise.
2007-07-13 02:50:19 +00:00
Nick Roberts
109a770975 (breakpoint-disabled): Tweak face (again)
for low-color displays.
2007-04-05 07:14:51 +00:00
Nick Roberts
20864cf0aa (gdb-mouse-until, gdb-mouse-jump):
Correct doc strings.
2007-02-28 21:15:13 +00:00
Nick Roberts
f7ddc2ce5a (gdb-if-arrow): New macro.
(gdb-mouse-until, gdb-mouse-jump): Use it.
2007-02-07 21:57:04 +00:00
Nick Roberts
45ab7a6632 (gdb-mouse-until, gdb-mouse-jump): Make them
work when there is just an assembler buffer (no source buffer).
2007-02-07 21:12:52 +00:00
Nick Roberts
d4a574c075 (gdb-frames-mode): Truncate lines in stack
buffer.
2007-02-06 03:40:33 +00:00
Nick Roberts
b41a756946 (gdb-speedbar-update): Avoid duplication
when adding gdb-speedbar-update to gdb-input-queue.
2007-02-01 08:42:47 +00:00
Nick Roberts
01b8fc600a (gdb-var-delete-1): New function.
(gdb-var-delete): Use it.
(gdb-var-update-handler-1): Handle value "invalid" for MI field
`in_scope'.
2007-01-30 22:07:12 +00:00
Nick Roberts
5754d11f61 (gdb-breakpoint-regexp): Declare earlier to
avoid compiler warning.
(gdb-var-update-handler-1): Consider that the MI field `in_scope'
might have values other than "true" or "false".
2007-01-28 09:42:23 +00:00
Nick Roberts
b35ef705cd (gdb-var-create-regexp)
(gdb-var-create-handler): Handle value field in GDB output of
-var-create.
(gdb-max-frames): New variable.
(gdb-stack-buffer, gdb-frames-select): Use it.
(gdb-info-stack-custom): Help user customize gdb-max-frames,
if necessary.
(gdb-get-frame-number): Simplify.
2007-01-21 21:03:40 +00:00
Nick Roberts
0ebd837a75 (gdb-var-create-regexp)
(gdb-var-create-handler): Handle value field in GDB output of
-var-create.
(gdb-max-frames): New variable.
(gdb-stack-buffer, gdb-frames-select): Use it.
(gdb-info-stack-custom): Help user customize gdb-max-frames,
if necessary.
(gdb-get-frame-number): Simplify.
2007-01-21 10:49:42 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Nick Roberts
e1204172ce (gdb-max-children): New customizable variable.
(gdb-speedbar-expand-node): Ask user for confirmation before expanding
large structures/arrays.
2007-01-05 04:20:20 +00:00
Nick Roberts
6c8aa2cd79 (gud-watch): Allow duplicate names for watch
expressions.
(gdb-var-delete): Handle duplicate names.  Print message for non
root expressions.
(gdb-partial-output-name): Start buffer name with a space.
(gdb-info-breakpoints-custom, gdb-reset): Handle space in above
buffer name.
2006-12-26 22:02:17 +00:00
Nick Roberts
82bc67b8b2 (gdb-stopped): After attaching to a process
make gud-go send "continue".
2006-12-20 05:16:36 +00:00
Nick Roberts
9106c6aebe (gdb-var-delete-children): New function.
(gdb-speedbar-expand-node): Use it.
2006-12-04 03:26:44 +00:00
Nick Roberts
ae4c58a755 (gdb-many-windows): Start doc string
with a capital.
2006-11-10 09:38:11 +00:00
Glenn Morris
958cdec20f (gdb-many-windows): Doc fix (Nil -> nil). 2006-11-10 09:12:16 +00:00
Nick Roberts
eb036ad0e2 (gdb-info-stack-custom): Don't try to give
gdb-stack-position a value when there is no fringe.
2006-10-22 05:40:08 +00:00
Nick Roberts
02974d02ac (gdb-speedbar-expand-node): Burp if
GUD buffer has been killed.
2006-10-07 23:37:20 +00:00
Nick Roberts
8687849bab (gdb-var-list-children-regexp)
(gdb-var-list-children-regexp-1): Tweak regexps to catch full
string values.
2006-09-06 02:45:03 +00:00
Nick Roberts
ce22ee0163 (gdb-var-list-children-regexp)
(gdb-var-list-children-regexp): Make type field optional.
2006-09-05 03:41:24 +00:00
Nick Roberts
31af85eb57 (gdb-starting): Reset gdb-signalled to nil. 2006-08-23 03:10:02 +00:00
Nick Roberts
b2f5a4ac93 (gdb-frame-memory-buffer): Make frame
a bit wider and remove fringes to fit initial output on line.
2006-08-21 23:06:09 +00:00
Romain Francoise
bfe0c147d5 (gdb-edit-locals-value): Balance parens. 2006-08-17 17:56:57 +00:00
Nick Roberts
38a52690e0 (gdb-locals-watch-map, gdb-locals-watch-map-1): Suppress keymap first.
(gdb-edit-locals-map-1): New variable.
(gdb-edit-locals-value): New function.
(gdb-stack-list-locals-handler): Use them.
2006-08-17 11:44:40 +00:00
Nick Roberts
9143202cb6 (gdb-info-stack-custom): Indicate selected frame with fringe arrow.
Suggested by Simon Marshall <simon.marshall@misys.com>.
(gdb-stack-position): New variable.
(gdb-starting, gdb-exited): Reset gdb-stack-position to nil.
(gdb-frames-mode): Set gdb-stack-position to nil.  Add to
overlay-arrow-variable-list
(gdb-reset): Delete gdb-stack-position from above list.
2006-08-15 00:01:16 +00:00
Nick Roberts
7443a63845 (gdb-frame-separate-io-buffer)
(gdb-use-separate-io-buffer, menu): Avoid using `inferior' in text.
(gdb-memory-mode, gdb-locals-watch-map): Don't quote lambda
expressions.
(gdb-info-breakpoints-custom): Use gdb-breakpoint-regexp.
Only search till end of line.
Add face to function names in case of no filename.
Add face to variable names of watchpoints.
2006-08-13 01:09:11 +00:00
Nick Roberts
a6c7c026a4 (gdb-find-source-frame): Make nil the default value.
(gdb-find-source-frame): New function.
(menu): Add to menu bar.
2006-08-01 23:16:00 +00:00
Nick Roberts
c534076ccd (gdb-set-hollow): Check for gud-last-last-frame. 2006-08-01 02:49:47 +00:00
Nick Roberts
2b63aedbe1 (gdb-find-source-frame): New option.
(gdb-stopped): Use it.
2006-07-31 06:13:18 +00:00
Nick Roberts
a9502111b2 (gdb-info-breakpoints-custom): Use different faces for enable character. 2006-07-28 12:11:09 +00:00
Nick Roberts
303b246dbe (gdb-set-gud-minor-mode-existing-buffers)
(gdb-resync, gdb-prompt, gdb-starting, gdb-exited, gdb-stopped)
(gdb-set-gud-minor-mode-existing-buffers-1): Use different faces
for status indicator.
2006-07-25 05:18:11 +00:00