[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el
From: |
Nick Roberts |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el |
Date: |
Sat, 26 Jun 2004 09:14:22 -0400 |
Index: emacs/lisp/progmodes/gdb-ui.el
diff -c emacs/lisp/progmodes/gdb-ui.el:1.19 emacs/lisp/progmodes/gdb-ui.el:1.20
*** emacs/lisp/progmodes/gdb-ui.el:1.19 Sun May 30 00:09:37 2004
--- emacs/lisp/progmodes/gdb-ui.el Sat Jun 26 13:12:28 2004
***************
*** 29,38 ****
;; GDB through the GUD buffer in the usual way, but there are also further
;; buffers which control the execution and describe the state of your program.
;; It separates the input/output of your program from that of GDB, if
! ;; required, and displays expressions and their current values in their own
! ;; buffers. It also uses features of Emacs 21 such as the display margin for
! ;; breakpoints, and the toolbar (see the GDB Graphical Interface section in
! ;; the Emacs info manual).
;; Start the debugger with M-x gdba.
--- 29,37 ----
;; GDB through the GUD buffer in the usual way, but there are also further
;; buffers which control the execution and describe the state of your program.
;; It separates the input/output of your program from that of GDB, if
! ;; required, and watches expressions in the speedbar. It also uses features of
! ;; Emacs 21 such as the fringe/display margin for breakpoints, and the toolbar
! ;; (see the GDB Graphical Interface section in the Emacs info manual).
;; Start the debugger with M-x gdba.
***************
*** 1207,1214 ****
(list
(concat
(if (eq ?y (char-after (match-beginning 2)))
! gdb-server-prefix "disable "
! gdb-server-prefix "enable ")
(match-string 1) "\n")
'ignore)))))
--- 1206,1213 ----
(list
(concat
(if (eq ?y (char-after (match-beginning 2)))
! (concat gdb-server-prefix "disable ")
! (concat gdb-server-prefix "enable "))
(match-string 1) "\n")
'ignore)))))
***************
*** 1226,1235 ****
(interactive)
(save-excursion
(beginning-of-line 1)
! (if (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdbmi))
! (looking-at
"[0-9]*\\s-*\\S-*\\s-*\\S-*\\s-*.\\s-*\\S-*\\s-*\\(\\S-*\\):\\([0-9]+\\)")
! (re-search-forward "in\\s-+\\S-+\\s-+at\\s-+" nil t)
! (looking-at "\\(\\S-*\\):\\([0-9]+\\)")))
(if (match-string 2)
(let ((line (match-string 2))
(file (match-string 1)))
--- 1225,1236 ----
(interactive)
(save-excursion
(beginning-of-line 1)
! (if (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba))
! (progn
! (re-search-forward "in\\s-+\\S-+\\s-+at\\s-+" nil t)
! (looking-at "\\(\\S-*\\):\\([0-9]+\\)"))
! (looking-at
!
"[0-9]*\\s-*\\S-*\\s-*\\S-*\\s-*.\\s-*\\S-*\\s-*\\(\\S-*\\):\\([0-9]+\\)")))
(if (match-string 2)
(let ((line (match-string 2))
(file (match-string 1)))
- [Emacs-diffs] Changes to emacs/lisp/progmodes/gdb-ui.el,
Nick Roberts <=