From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re:gdb-create-source-file-list and gdb-mi.el Date: Wed, 23 Nov 2011 20:05:13 +1300 Message-ID: <1322031913.8188.4.camel@totara.tehura.co.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322259085 16785 80.91.229.12 (25 Nov 2011 22:11:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2011 22:11:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: aneesh.kumar@linux.vnet.ibm.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 25 23:11:21 2011 Return-path: Envelope-to: ged-emacs-devel@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 1RU3zL-0007G8-Q2 for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2011 23:11:19 +0100 Original-Received: from localhost ([::1]:34097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU3zL-0004nF-AQ for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2011 17:11:19 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU3zJ-0004nA-81 for emacs-devel@gnu.org; Fri, 25 Nov 2011 17:11:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RU3zI-0003VI-4M for emacs-devel@gnu.org; Fri, 25 Nov 2011 17:11:17 -0500 Original-Received: from unit0.ironport.snap.net.nz ([202.37.100.104]:52041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU3zH-0003VA-Rk for emacs-devel@gnu.org; Fri, 25 Nov 2011 17:11:16 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EACMS0E5vRfS6/2dsb2JhbABEhQOlfYJ3AQEBAwEjVgUWGgImAlmIHqRVkTOBMIYdgX+BFgSUSoVAjGE X-IronPort-AV: E=Sophos;i="4.69,573,1315137600"; d="scan'208";a="86909419" Original-Received: from rupert.snap.net.nz ([202.37.100.140]) by smtp0.ironport.snap.net.nz with ESMTP; 26 Nov 2011 11:11:10 +1300 X-Sender-IP: 111.69.244.186 X-Sender-IP: 111.69.244.186 Original-Received: from [192.168.1.5] (186.244.69.111.dynamic.snap.net.nz [111.69.244.186]) by rupert.snap.net.nz (Postfix) with ESMTP id 667C91FD37; Sat, 26 Nov 2011 11:11:10 +1300 (NZDT) In-Reply-To: 87sjllhgey.fsf@linux.vnet.ibm.com X-Mailer: Evolution 2.30.3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 202.37.100.104 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146239 Archived-At: > gdb-mi.el does the below > > ;; 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))) > Don't we need to make sure the the "-file-list-exec-source-files" also > come withing the gdb-crate-source-file-list check ?. Current gdb with > linux kernel vmlinux takes so much time to give me the prompt. Yes it looks like I made a mistake. The if clause should be around the first gdb-input. I don't know the status of the freeze so I've not committed this change. Nick