aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2006-08-21 23:06:09 +0000
committerNick Roberts2006-08-21 23:06:09 +0000
commitb2f5a4ac93608d9a51ddbd08c3f825d4cedfeb04 (patch)
treebb82dfd480df6f7598a412b56241c2198dd5c543
parentc7025fef3924ad9f33d342a79bf34e7583683c53 (diff)
downloademacs-b2f5a4ac93608d9a51ddbd08c3f825d4cedfeb04.tar.gz
emacs-b2f5a4ac93608d9a51ddbd08c3f825d4cedfeb04.zip
(gdb-frame-memory-buffer): Make frame
a bit wider and remove fringes to fit initial output on line.
-rw-r--r--lisp/progmodes/gdb-ui.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index ff16daf6436..bbd23b9fad0 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -315,7 +315,7 @@ Also display the main routine in the disassembly buffer if present."
315 "Nil means just pop up the GUD buffer unless `gdb-show-main' is t. 315 "Nil means just pop up the GUD buffer unless `gdb-show-main' is t.
316In this case it starts with two windows: one displaying the GUD 316In this case it starts with two windows: one displaying the GUD
317buffer and the other with the source file with the main routine 317buffer and the other with the source file with the main routine
318of the inferior. Non-nil means display the layout shown for 318of the debugged program. Non-nil means display the layout shown for
319`gdba'." 319`gdba'."
320 :type 'boolean 320 :type 'boolean
321 :group 'gud 321 :group 'gud
@@ -2638,8 +2638,11 @@ corresponding to the mode line clicked."
2638(defun gdb-frame-memory-buffer () 2638(defun gdb-frame-memory-buffer ()
2639 "Display memory contents in a new frame." 2639 "Display memory contents in a new frame."
2640 (interactive) 2640 (interactive)
2641 (let ((special-display-regexps (append special-display-regexps '(".*"))) 2641 (let* ((special-display-regexps (append special-display-regexps '(".*")))
2642 (special-display-frame-alist gdb-frame-parameters)) 2642 (special-display-frame-alist
2643 (cons '(left-fringe . 0)
2644 (cons '(right-fringe . 0)
2645 (cons '(width . 83) gdb-frame-parameters)))))
2643 (display-buffer (gdb-get-buffer-create 'gdb-memory-buffer)))) 2646 (display-buffer (gdb-get-buffer-create 'gdb-memory-buffer))))
2644 2647
2645 2648
@@ -3584,7 +3587,7 @@ in_scope=\"\\(.*?\\)\".*?}")
3584 value)) 3587 value))
3585 (insert 3588 (insert
3586 (concat name "\t" (nth 1 local) 3589 (concat name "\t" (nth 1 local)
3587 "\t" (nth 2 local) "\n"))) 3590 "\t" value "\n")))
3588 (set-window-start window start) 3591 (set-window-start window start)
3589 (set-window-point window p)))))))) 3592 (set-window-point window p))))))))
3590 3593