From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Completion bug in gud or comint Date: Sun, 25 Dec 2011 15:54:19 +0800 Message-ID: <87pqfdgk7o.fsf@gnu.org> References: <87r5041rct.fsf@ginnungagap.bsc.es> <87bor5k8b1.fsf@ginnungagap.bsc.es> <87d3bi0yz0.fsf@ginnungagap.bsc.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1324799678 29436 80.91.229.12 (25 Dec 2011 07:54:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Dec 2011 07:54:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 25 08:54:32 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 1Reiue-0005Ny-1n for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2011 08:54:32 +0100 Original-Received: from localhost ([::1]:55595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Reiuc-0002w5-Se for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2011 02:54:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Reiua-0002vy-Ts for emacs-devel@gnu.org; Sun, 25 Dec 2011 02:54:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ReiuZ-0000wm-Qj for emacs-devel@gnu.org; Sun, 25 Dec 2011 02:54:28 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:56946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReiuZ-0000wh-PJ for emacs-devel@gnu.org; Sun, 25 Dec 2011 02:54:27 -0500 Original-Received: from bb121-6-202-128.singnet.com.sg ([121.6.202.128]:32922 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ReiuY-0006X5-Vw; Sun, 25 Dec 2011 02:54:27 -0500 In-Reply-To: <87d3bi0yz0.fsf@ginnungagap.bsc.es> (=?utf-8?Q?=22Llu=C3=ADs?= Vilanova"'s message of "Wed, 21 Dec 2011 15:40:51 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:146960 Archived-At: Llu=C3=ADs Vilanova writes: > Tried with the latest revision (106714) and it's still failing. Is anyone= else > seeing that error? > > * Start M-x gdb with "gdb -i=3Dmi" > * type "so" > * complete-symbol > * wait forever > * C-g > * The "(gdb) " prefix disappears and "so" expands into "source" > > I've tested it with GDB versions 7.0.1-2+b1 and 7.3-1+b1 (debian). I see the problem. It arises from the fact that the completion-at-point function in gud.el was written without proper gdb-mi.el support. I'll see if I can put together a solution.