Commit graph

82 commits

Author SHA1 Message Date
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Nick Roberts
ff71329437 (gdb-send): Remove warning face from errors
after fresh input.
(gdb-var-create-handler): Put name of expression in quotes.
2005-06-24 01:32:24 +00:00
Nick Roberts
98c751fe30 (gdb-error): New variable.
(gdb-error): New function.
(gdb-annotation-rules): Act on error-begin and error annotations.
(gdb-concat-output): Use font-lock-warning-face for errors.
2005-06-22 08:45:01 +00:00
Nick Roberts
b636352442 (gdb-tooltip-print): Respect
tooltip-use-echo-area.
(menu): Re-order menu items.
2005-06-14 21:14:48 +00:00
Nick Roberts
1e539d255b (gdb-registers-mode): Let gdbmi use
MI command -data-list-register-values.
(gdb-post-prompt): Indent properly.
2005-06-13 06:01:12 +00:00
Nick Roberts
2884ae6dc6 (gdb-info-locals-handler): Use window point to preserve point.
(gdb-find-file-hook): Add doc string.
2005-06-05 07:55:32 +00:00
Nick Roberts
4cbf66013b (gdb-set-gud-minor-mode-1)
(gdb-info-breakpoints-custom, gdb-delete-breakpoint)
(gdb-goto-breakpoint, gdb-source-info, gdb-get-location)
(gdb-assembler-custom): Improve regexps.
(def-gdb-auto-update-handler): Use window point to ensure it
is preserved.
2005-05-31 20:55:48 +00:00
Nick Roberts
af3f7411df (gdb-toggle-breakpoint): Make regexp more robust.
(gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
Force regeneration of disassembly.
2005-05-30 06:11:01 +00:00
Nick Roberts
1f1f4de2da (gdb-memory-set-repeat-count):
Throw error when count <= 0 to ensure input is a number.
(gdb-read-memory-custom): Pick up address from buffer.
(gdb-memory-mode): Allow user to increment and decrement
memory address from header line.
2005-05-29 10:48:29 +00:00
Nick Roberts
8164904190 (gdb-assembler-custom): Be more careful about preserving point. 2005-05-28 12:15:33 +00:00
Nick Roberts
9594f9294b (gdb-all-registers): New variable.
(gdb-registers-buffer, toggle-gdb-all-registers):
Toggle display of floating point registers.
(gdb-registers-mode-map): Bind SPC to toggle-gdb-all-registers.
2005-05-27 20:56:43 +00:00
Nick Roberts
8da4dd7626 *** empty log message *** 2005-05-26 12:41:35 +00:00
Nick Roberts
5770a942e7 (gdb-frame-address):
Rename from gdb-current-address.
(gdb-previous-frame-address): Rename from gdb-previous-address.
(gdb-selected-frame): Rename from gdb-current-frame.
(gdb-get-selected-frame): Rename from gdb-get-current-frame.
(gdb-frame-number): Rename from gdb-current-stack-level.
(gdb-ann3): Match new mode-name for disassembly buffer.
Extend initialisation of variables.
(gdb-post-prompt): Update disassembly from gdb-frame-handler.
(gdb-memory-mode): Use mouse-face in header line.
(gdb-assembler-buffer-name): Call it disassembly and give frame
in mode line.
(gdb-source-spec-regexp, gdb-assembler-custom)
(gdb-invalidate-assembler, gdb-frame-handler):
Make robust to leading zeroes in address format.
2005-05-26 12:20:21 +00:00
Nick Roberts
086d0593ec (gdb-inferior-io-mode-map): Bind gdb-inferior-io-eof to C-d. 2005-05-23 23:38:29 +00:00
Nick Roberts
453b7959ae (gdb-info-locals-handler): Make regexps
more general and work when GDB variable "print pretty" is on,
as with Emacs, for example.
2005-05-22 12:37:24 +00:00
Nick Roberts
89d8189aa8 (gdb-macro-info): New variable.
(gdb-source-info): Check for preprocessor info.
(gdb-tooltip-print-1): New function. Don't print tooltip if it is
a macro for a function.
found (user might have used GDB dir command).
(gdb-info-breakpoints-custom): Try to find file again if not already
(gdb-get-location): Update gdb-location-alist correctly for change
to gdb-info-breakpoints-custom.
2005-05-09 21:54:47 +00:00
Nick Roberts
226c2e4066 (gdb-tooltip-print): Moved from tooltip.el.
(gdb-cpp-define-alist-flags): Doc fix.
(gdb-set-gud-minor-mode-1): Only prepare GUD tooltips if
gud-tooltip-mode is t.
2005-05-06 22:12:34 +00:00
Eli Zaretskii
83ef7c48bd (gdb-cpp-define-alist-program): Doc fix.
Remove the redundant test for ms-dos.
2005-05-06 12:47:54 +00:00
Nick Roberts
4c192d5a24 (gdb-cpp-define-alist-flags): New variable.
(gdb-create-define-alist): Use. it.
(gdb-cpp-define-alist-program): Update for MS-DOS?
2005-05-04 20:44:02 +00:00
Nick Roberts
5c66660f61 (gdb-cpp-define-alist-program)
(gdb-define-alist): New variables.
(gdb-create-define-alist): New function.
(gdb-set-gud-minor-mode-1): Handle gdb-define-alist.
(gdb-source, gdb-memory-set-repeat-count): Replace string-to-int
with string-to-number.
(gdb-reset): Kill gdb-define-alist. Move assignments outside loop.
2005-05-03 06:48:47 +00:00
Nick Roberts
9cc4d7dd64 (gdb-active-process): New variable.
(gdb-exited): New function.
(gdb-annotation-rules): Use it.
(gdb-starting): Set gdb-active-process to t.
(gdb-stopping): Amend doc string.
(gdb-reset): Set gdb-active-process to nil.
2005-04-27 22:00:22 +00:00
Nick Roberts
a00917788e (gdb-location-alist): Rename from
gdb-location-list.
Break lines that are over 80 characters wide.
2005-04-26 21:25:55 +00:00
Nick Roberts
583e8dd926 (gdb-assembler-mode):
Don't set overlay-arrow-string to "=>" as this is done
globally in C now.
2005-04-12 03:10:25 +00:00
Nick Roberts
1a0320876e (gdb-display-inferior-io-buffer)
(gdb-frame-inferior-io-buffer): New Functions to control
display of separate IO buffer.
(menu): Add them to menu-bar.
(gdb-display-buffer): Check for buffer in another frame.
Protect GUD buffer.
(gdb-setup-windows): Create IO buffer if not already there.
(gdb-memory-mode): Remove purecopy noops.
2005-04-11 12:48:42 +00:00
Nick Roberts
0d43db4d62 (gdb-breakpoints-mode-map)
(gdb-frames-mode-map): Add follow-link property.
2005-03-25 22:04:45 +00:00
Miles Bader
c29749e731 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-204
Clean up gdb-ui breakpoint faces

2005-03-23  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled):
   Remove tty-specific variants, as they're no longer needed.
2005-03-24 03:25:40 +00:00
Kim F. Storm
5f9e3a2636 (breakpoint-enabled, breakpoint-disabled):
Don't inherit from fringe face (now happens automatically).
2005-03-22 23:08:57 +00:00
Miles Bader
0c04baa6c5 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-199
Tweak gdb-ui breakpoint faces

2005-03-22  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled):
   Tweak details to look good on both ttys and bitmap displays, light
   or dark background, etc.
2005-03-22 05:05:50 +00:00
Miles Bader
e38b967ad7 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-193
Use gdb-ui breakpoint faces on ttys too

2005-03-20  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Use breakpoint faces
   in text-mode too.  Change to new face names.
   (breakpoint-enabled): Renamed from `breakpoint-enabled-bitmap-face'.
   Add `:weight bold' attribute.
   (breakpoint-disabled): Renamed from `breakpoint-disabled-bitmap-face'.
2005-03-20 01:49:32 +00:00
Nick Roberts
2e8c13b41b (gdb-var-create-handler, gdb-get-location):
Use message-box.
2005-03-09 23:20:07 +00:00
Nick Roberts
bd7a628ab6 (gdb-var-create-handler): Handle just MI case.
(gdb-send, gdb-send-item): Log items sent from gdb-send too.
2005-03-07 01:55:18 +00:00
Nick Roberts
50af6c667d (gdb-get-location): Use a warning instead
of an error if GDB can't find the source file.
2005-03-01 10:43:05 +00:00
Nick Roberts
9efdfc10ec (gdb-var-update-handler)
(gdb-speedbar-timer-fn): Ensure speedbar updates with new values
for watch expressions,
(gdb-var-create-handler): Don't set speedbar-update-flag.
(gdb-post-prompt): Simplify test for speedbar.
2005-02-19 05:08:49 +00:00
Nick Roberts
262ba701c1 (gdb-set-gud-minor-mode-existing-buffers)
(gdb-find-file-hook): Add server prefix.
2005-02-16 20:23:16 +00:00
Nick Roberts
e7212bb36e (gdb-find-file-unhook): New variable.
(gdb-set-gud-minor-mode, gdb-set-gud-minor-mode-1)
(gdb-set-gud-minor-mode-existing-buffers): New functions.
(gdb-find-file-hook): New hook. Add it to find-file-hook.
(gdb-info-breakpoints-custom, gdb-source-info): Simplify.
2005-02-15 09:19:13 +00:00
Nick Roberts
ae61773c26 (gdb-ann3): Re-instate GDB command "set
width 0" to prevent word wrapping problems
(in particular, output from "info breakpoints").
2005-02-09 19:42:09 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Nick Roberts
94cd554acd (gdb-location-list): New variable.
(gdb-cdir): Delete
(gdb-info-breakpoints-custom, gdb-goto-breakpoint)
(gdb-source-info): Treat case when source file is in another
directory properly.
(gdb-get-location): New function.
2005-02-08 11:53:43 +00:00
Nick Roberts
b29ef159ec Update copyright. Put GDB-Frames before
GDB-Windows on the menu-bar as this works better.
2005-02-05 05:31:36 +00:00
Nick Roberts
1f8f8e684a (gdb-goto-info): Delete. 2005-02-01 20:11:09 +00:00
Nick Roberts
37ebd64bd9 (gdb-memory-address)
(gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit)
(gdb-memory-mode-map, gdb-memory-format-keymap)
(gdb-memory-format-menu, gdb-memory-unit-keymap)
(gdb-memory-unit-menu): New variables for a buffer
that lets the user examine program memory.
(gdb-memory-set-address, gdb-memory-set-repeat-count)
(gdb-memory-format-binary, gdb-memory-format-octal)
(gdb-memory-format-unsigned, gdb-memory-format-signed)
(gdb-memory-format-hexadecimal, gdb-memory-format-menu)
(gdb-memory-format-menu-1, gdb-memory-unit-giant)
(gdb-memory-unit-word, gdb-memory-unit-halfword)
(gdb-memory-unit-byte, gdb-memory-unit-menu)
(gdb-memory-unit-menu-1, gdb-make-header-line-mouse-map)
(gdb-memory-mode, gdb-memory-buffer-name)
(gdb-display-memory-buffer, gdb-frame-memory-buffer):
New functions for above buffer.
2005-01-31 02:22:24 +00:00
Nick Roberts
190def626e (gdb-info-breakpoints-custom)
(gdb-goto-breakpoint): Make breakpoint handling work on template
functions in C++.  Reported by Martin Reed <mjreed@essex.ac.uk>
(gdb-assembler-custom): Update to recognise breakpoint information
added on 2005-01-19.
2005-01-29 06:55:14 +00:00
Nick Roberts
14788d12b0 (gdb-info-breakpoints-custom)
(gdb-goto-breakpoint): Make breakpoint handling work on template
functions in C++. Reported by Martin Reed <mjreed@essex.ac.uk>
2005-01-28 21:48:48 +00:00
Nick Roberts
f2fc1724a8 (gdb-goto-breakpoint, gdb-frames-select)
(gdb-threads-select): Change to also accept mouse events.
(gdb-mouse-goto-breakpoint, gdb-frames-mouse-select)
(gdb-threads-mouse-select): Delete.
2005-01-23 20:57:41 +00:00
Nick Roberts
f30943417b (gdb-put-breakpoint-icon): Add help-echo for
breakpoint image symbol in margin.
2005-01-19 06:55:57 +00:00
Nick Roberts
b6d0e4dad0 (gdb-put-string): Copy/create strings so
that enable/disabled state of breakpoints is shown correctly in
fringe and on ttys.
(gdb-put-breakpoint-icon, gdb-info-breakpoints-custom):
Add breakpoint information as text properties.
(gdb-mouse-toggle-breakpoint):
Rename to gdb-mouse-set-clear-breakpoint.
(gdb-mouse-toggle-breakpoint): New function. Enable/disable
breakpoints in the margin.
(gdb-remove-strings): Simplify.
2005-01-18 11:28:19 +00:00
Nick Roberts
f2dab427f1 (gdb-view-source, gdb-selected-view):
Delete variables.
(gdb-ann3): Don't make GUD buffer dedicated.
(gdb-goto-breakpoint, gdb-display-buffer): Don't always
dedicate.
(gdb-display-source-buffer): Delete function.
(gdb-view-source-function, gdb-view-assembler): Delete functions.
(menu): Delete menu bindings for viewing source/assembler.
(gdb-setup-windows, gdb-restore-windows):
Don't dedicate GUD. No assembler now.
(gdb-reset): No need to undedicate source buffers now.
(gdb-source-info): No assembler now.
2004-11-26 15:41:22 +00:00
Nick Roberts
1a9203d09e (gdb-frame-parameters): Match height and
width to those for special frames.
(gdb-frame-breakpoints-buffer): Use gdb-frame-parameters.
Use display-buffer.
(gdb-frame-stack-buffer, gdb-frame-threads-buffer)
(gdb-frame-registers-buffer, gdb-frame-locals-buffer)
(gdb-frame-assembler-buffer): Rework like
gdb-frame-breakpoints-buffer.
2004-11-25 23:51:18 +00:00
Nick Roberts
12032009a4 (gdb-breakpoints-mode-map)
(gdb-frames-mode-map, gdb-threads-mode-map)
(gdb-registers-mode-map, gdb-locals-mode-map)
(gdb-assembler-mode-map): Bind "q" to kill-this-buffer.
(dedicated-switch-to-buffer): Rename to gdb-set-window-buffer.
(dedicated-switch-to-buffer): Rework.
(gdb-var-evaluate-expression-handler, gdb-put-string):
Remove unused variable bindings.
(gdb-setup-windows, gdb-display-buffer):
Simplify. Use pop-to-buffer.
(gdb-view-source-function): Simplify.
(gdb-frame-breakpoints-buffer):
Use pop-to-buffer, special-display-regexps.
2004-11-25 02:00:53 +00:00
Nick Roberts
4e607b5992 (dedicated-switch-to-buffer): New function.
(gdb-ann3, gdb-setup-windows, gdb-restore-windows): Dedicate
gdb-related windows.
(gdb-display-buffer): Dedicate gdb-related windows. Don't grab
other frames.
(gdb-reset): Remove dedicated property after debugging.
2004-11-24 10:31:15 +00:00