From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: gdb-create-source-file-list and gdb-mi.el Date: Fri, 25 Nov 2011 17:28:25 -0500 Message-ID: <4ED01689.1060108@cornell.edu> References: <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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322260152 23761 80.91.229.12 (25 Nov 2011 22:29:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2011 22:29:12 +0000 (UTC) Cc: aneesh.kumar@linux.vnet.ibm.com, emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 25 23:29:07 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 1RU4GY-0005Y6-PK for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2011 23:29:06 +0100 Original-Received: from localhost ([::1]:58060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU4GS-0007KI-Dz for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2011 17:29:00 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU4GQ-0007KD-26 for emacs-devel@gnu.org; Fri, 25 Nov 2011 17:28:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RU4GP-00062e-1J for emacs-devel@gnu.org; Fri, 25 Nov 2011 17:28:58 -0500 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141]:38708 helo=authusersmtp.mail.cornell.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU4GO-0005za-U3 for emacs-devel@gnu.org; Fri, 25 Nov 2011 17:28:57 -0500 Original-Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id pAPMSUev003970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 Nov 2011 17:28:31 -0500 (EST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: <1322031913.8188.4.camel@totara.tehura.co.nz> X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-Received-From: 128.253.83.141 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:146240 Archived-At: On 11/23/2011 2:05 AM, Nick Roberts wrote: >> 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. As long as you're looking at gdb-mi.el problems, there have been several other bugs reported: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9853 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9858 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9878 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9944 Could you take a look at those also? Ken