emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB-UI and multiple frames


From: Nick Roberts
Subject: Re: GDB-UI and multiple frames
Date: Mon, 5 Apr 2004 00:29:51 +0100

 > If the source window is deleted, GDB-UI should be prepared to notice
 > that there's a suitable source window in another frame.

"gdb -fullname" doesn't currently have this characteristic. It only notices if
there's a suitable source window in the _same_ frame. However, to behave this
way, it would only need the change (to gud-display-line) below.

Just to be clear, this change is for "gdb -fullname" only. GDB-UI is a more
complicated case.

Nick


*** gud.el.~1.18.~      2004-03-29 20:00:20.000000000 +0100
--- gud.el      2004-04-05 00:12:04.000000000 +0100
***************
*** 2582,2588 ****
         (window (and buffer (or (get-buffer-window buffer)
                                 (if (eq gud-minor-mode 'gdba)
                                     (gdb-display-source-buffer buffer)
!                                  (display-buffer buffer)))))
         (pos))
      (if buffer
        (progn
--- 2582,2588 ----
         (window (and buffer (or (get-buffer-window buffer)
                                 (if (eq gud-minor-mode 'gdba)
                                     (gdb-display-source-buffer buffer)
!                                  (display-buffer buffer 0 0)))))
         (pos))
      (if buffer
        (progn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]