From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.help Subject: Re: gud : Phase error in gdb-pre-prompt (got pre-emacs) Date: Mon, 7 Jul 2008 21:19:55 +1200 Message-ID: <18545.57275.459065.626109@kahikatea.snap.net.nz> References: <4864aa47$0$7552$9b4e6d93@newsspool1.arcor-online.net> <18532.48739.801397.106683@kahikatea.snap.net.nz> <38b2ab8a0806300437kf9e9013oc296d5eb35c37e08@mail.gmail.com> <18537.23288.486975.94604@kahikatea.snap.net.nz> <38b2ab8a0807010707u79067c60yf83d83824e90cb3b@mail.gmail.com> <18538.45748.747143.611329@kahikatea.snap.net.nz> <38b2ab8a0807070059n7950c46j7e2a33a07fcb1533@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215422457 32232 80.91.229.12 (7 Jul 2008 09:20:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jul 2008 09:20:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Francis Moreau" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 07 11:21:42 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KFmue-00041h-F8 for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jul 2008 11:21:36 +0200 Original-Received: from localhost ([127.0.0.1]:43496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFmtn-0006Nw-6F for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jul 2008 05:20:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFmtE-0006No-7H for help-gnu-emacs@gnu.org; Mon, 07 Jul 2008 05:20:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFmtC-0006NQ-5h for help-gnu-emacs@gnu.org; Mon, 07 Jul 2008 05:20:07 -0400 Original-Received: from [199.232.76.173] (port=35338 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFmtB-0006NN-Sl for help-gnu-emacs@gnu.org; Mon, 07 Jul 2008 05:20:05 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.25]:38691) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KFmtB-0006mA-3G for help-gnu-emacs@gnu.org; Mon, 07 Jul 2008 05:20:05 -0400 Original-Received: from kahikatea.snap.net.nz (209.31.255.123.static.snap.net.nz [123.255.31.209]) by viper.snap.net.nz (Postfix) with ESMTP id D8F8C3DA226; Mon, 7 Jul 2008 21:20:02 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id C2BC98FC6D; Mon, 7 Jul 2008 21:19:56 +1200 (NZST) In-Reply-To: <38b2ab8a0807070059n7950c46j7e2a33a07fcb1533@mail.gmail.com> X-Mailer: VM 7.19 under Emacs 22.2.50.3 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55281 Archived-At: > > > Yes probably, I'm using a gdb patched by a third party but don't know > > > and can't figure out what has been patched... > > > > Then the patch may change behaviour in other ways. I suspect that it's > > not issuing some of the prompt annotations. A distributed patched gdb is > > covered by GPL so presumably you have access to the source code. What > > version of gdb is itbased on? and who are the third party? > > > > GNU gdb STMicroelectronics/Linux Base 6.5-24 [build Oct 24 2007] > > coming from > > http://www.stlinux.com/download/ OK. In that case it might be a good idea to try the mode in the package gdb-mi at ELPA (http://tromey.com/elpa/) which uses GDB/MI instead of annotations. If you are familiar with Emacs, this is very straightforward to install/uninstall. This will replace the current mode, anyway, as annotations are being deprecated. Also I know that there are at least two people (Denis Pilat and Andrew Stubbs) from STMicroelectronics who have been active on the GDB mailing list and who have contributed to GDB/MI. If this works for you please report back to this list. >... > > It's a different mode. With M-x gdb, if you use "gdb --fullname" instead of > > "gdb --annotate=3" with Emacs 22.x it should work as before. With Emacs 23, > > i.e. Emacs in CVS, you have to use M-x gud-gdb > > hmm: > > sh4-linux-gdb: unrecognized option '--fullname' You could try '--annotations=1' which is an alias for '--fullname' but it looks like this version might not support it anyway. -- Nick http://www.inet.net.nz/~nickrob