Miles Bader
b03f96dc5a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Nick Roberts
a03392ff83
(gdb-mouse-set-clear-breakpoint): Fall back
...
to mouse-set-point in buffers that aren't associated with files.
2008-02-20 19:57:10 +00:00
Nick Roberts
27acfab31e
(gdba): Recreate as an alias for gdb.
...
(gdb): (Re)set gdb-flush-pending-output to nil here...
(gdb-init-1): ...instead of here (before gdb-prompt).
2008-02-19 09:50:24 +00:00
Stefan Monnier
57e828aed9
(gdb-output-sink): Define with an invalid value.
...
(gdb): Initialize it here instead.
2008-02-19 04:30:50 +00:00
Nick Roberts
ef6cb9e834
(gdb-ready): Move declaration from gud.el to here.
...
(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.
2008-02-16 06:45:07 +00:00
Miles Bader
94cc397c54
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1028
2008-01-31 11:35:46 +00:00
Nick Roberts
473a20b83e
(gdb-var-set-format-regexp): New constant.
...
(gdb-var-set-format-handler): New function.
(gdb-var-set-format): Use it.
2008-01-30 22:07:41 +00:00
Miles Bader
8dd59f01de
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1021
2008-01-29 06:54:30 +00:00
Nick Roberts
f43ad7374f
(gdb-create-define-alist): Don't call
...
gdb-cpp-define-alist-program if file is nil (currently only
" *partial-output-...").
2008-01-27 20:53:02 +00:00
Miles Bader
1bad168e59
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Nick Roberts
78971dff70
(gdb-dequeue-input): Make doubly sure
...
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.
2008-01-10 10:27:02 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
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