GNU bug report logs - #10087
24.0.91; gdb-create-source-file-list and the documented behaviour

Previous Next

Package: emacs;

Reported by: "Aneesh Kumar K.V" <aneesh.kumar <at> linux.vnet.ibm.com>

Date: Sun, 20 Nov 2011 17:13:01 UTC

Severity: normal

Found in version 24.0.91

Fixed in version 24.0.93

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: "Aneesh Kumar K.V" <aneesh.kumar <at> linux.vnet.ibm.com>
Cc: 10087 <at> debbugs.gnu.org
Subject: bug#10087: 24.0.91; gdb-create-source-file-list and the documented behaviour
Date: Mon, 26 Dec 2011 16:25:45 +0800
> Don't we need to conditionalize gdb-get-source-file-list call ?  Also
> "ready" mode line update is done in that function. I guess that should
> be moved to gdb-get-source-file ?

IIUC, this was the bug that Nick was fixing in the following checkin, so
I'm closing it.  If it's not, please reopen.  Thanks.

revno: 106530
committer: Nick Roberts <nickrob <at> snap.net.nz>
branch nick: trunk
timestamp: Sun 2011-11-27 21:33:25 +1300
message:
  progmodes/gdb-mi.el (gdb-init-1): Condition execution of
  gdb-get-source-file-list on gdb-create-source-file-list.

=== modified file 'lisp/progmodes/gdb-mi.el'
*** lisp/progmodes/gdb-mi.el	2011-11-20 19:35:27 +0000
--- lisp/progmodes/gdb-mi.el	2011-11-27 08:33:25 +0000
***************
*** 873,885 ****
      (gdb-input (list "-gdb-set non-stop 1" 'gdb-non-stop-handler)))
  
    ;; find source file and compilation directory here
-   (gdb-input
-                                         ; Needs GDB 6.2 onwards.
-    (list "-file-list-exec-source-files" 'gdb-get-source-file-list))
    (if gdb-create-source-file-list
        (gdb-input
                                          ; Needs GDB 6.0 onwards.
!        (list "-file-list-exec-source-file" 'gdb-get-source-file)))
    (gdb-input
     (list "-gdb-show prompt" 'gdb-get-prompt)))
  
--- 873,885 ----
      (gdb-input (list "-gdb-set non-stop 1" 'gdb-non-stop-handler)))
  
    ;; find source file and compilation directory here
    (if gdb-create-source-file-list
        (gdb-input
+                                         ; Needs GDB 6.2 onwards.
+        (list "-file-list-exec-source-files" 'gdb-get-source-file-list)))
+   (gdb-input
                                          ; Needs GDB 6.0 onwards.
!    (list "-file-list-exec-source-file" 'gdb-get-source-file))
    (gdb-input
     (list "-gdb-show prompt" 'gdb-get-prompt)))
  





This bug report was last modified 13 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.