From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aneesh Kumar K.V" Newsgroups: gmane.emacs.bugs Subject: bug#10087: 24.0.91; gdb-create-source-file-list and the documented behaviour Date: Tue, 27 Dec 2011 18:14:30 +0530 Message-ID: <87aa6efakx.fsf@linux.vnet.ibm.com> References: <874nwnyc1i.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1324989939 2018 80.91.229.12 (27 Dec 2011 12:45:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Dec 2011 12:45:39 +0000 (UTC) Cc: 10087@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 27 13:45:30 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RfWPJ-0002sv-7I for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Dec 2011 13:45:29 +0100 Original-Received: from localhost ([::1]:52219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfWPH-0008Rb-Sy for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Dec 2011 07:45:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfWPE-0008RL-V5 for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2011 07:45:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfWPD-0000PC-Vj for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2011 07:45:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfWPD-0000P8-Rn for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2011 07:45:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RfWRl-0001jH-L0 for bug-gnu-emacs@gnu.org; Tue, 27 Dec 2011 07:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Aneesh Kumar K.V" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Dec 2011 12:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10087-submit@debbugs.gnu.org id=B10087.13249900626614 (code B ref 10087); Tue, 27 Dec 2011 12:48:01 +0000 Original-Received: (at 10087) by debbugs.gnu.org; 27 Dec 2011 12:47:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RfWRQ-0001ib-4h for submit@debbugs.gnu.org; Tue, 27 Dec 2011 07:47:41 -0500 Original-Received: from e9.ny.us.ibm.com ([32.97.182.139]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RfWRN-0001iU-Jh for 10087@debbugs.gnu.org; Tue, 27 Dec 2011 07:47:38 -0500 Original-Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <10087@debbugs.gnu.org> from ; Tue, 27 Dec 2011 07:44:48 -0500 Original-Received: from d01relay04.pok.ibm.com (9.56.227.236) by e9.ny.us.ibm.com (192.168.1.109) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 27 Dec 2011 07:44:47 -0500 Original-Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pBRCikXr334674 for <10087@debbugs.gnu.org>; Tue, 27 Dec 2011 07:44:46 -0500 Original-Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pBRCikua003046 for <10087@debbugs.gnu.org>; Tue, 27 Dec 2011 05:44:46 -0700 Original-Received: from skywalker.linux.vnet.ibm.com ([9.124.88.67]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id pBRCicPf002428; Tue, 27 Dec 2011 05:44:42 -0700 In-Reply-To: <874nwnyc1i.fsf@gnu.org> User-Agent: Notmuch/0.10.2+110~g3b54f44 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) x-cbid: 11122712-7182-0000-0000-00000074A973 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 27 Dec 2011 07:48:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55217 Archived-At: On Mon, 26 Dec 2011 16:25:45 +0800, Chong Yidong wrote: > > 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 > 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))) > > It still miss the part where gdb prompt get updated properly. -aneesh