From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: Re: emacs gud does not work with libtool Date: Sat, 04 Oct 2003 16:43:50 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1065278781 2028 80.91.224.253 (4 Oct 2003 14:46:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2003 14:46:21 +0000 (UTC) Cc: Justin Randall , bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 04 16:46:18 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5nfl-0008V8-00 for ; Sat, 04 Oct 2003 16:46:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5nfC-000750-S7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2003 10:45:42 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A5ne7-0006if-3H for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2003 10:44:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A5nda-0006YP-1F for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2003 10:44:33 -0400 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1A5ndU-0006Xn-H6 for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2003 10:43:56 -0400 Original-Received: from Hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id B698716A6ED6; Sat, 4 Oct 2003 16:43:54 +0200 (CEST) Original-To: Simon Josefsson X-Yow: I LIKE Aisle 7a. In-Reply-To: (Simon Josefsson's message of "Sat, 04 Oct 2003 00:26:02 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list 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 Xref: main.gmane.org gmane.emacs.bugs:5909 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5909 Simon Josefsson writes: > Andreas Schwab writes: > >> Simon Josefsson writes: >> >>> Justin Randall writes: >>> >>>> Emacs 21.3.1 seems to be even more convuluted regarding gdb and libtool >>>> created programs. Will GNU Emacs ever work with GNU auto-tools created >>>> programs? >>> >>> Emacs in CVS work fine with gdb and libtool; the problem was that >>> Emacs modified the prompt that was entered by the user and what was >>> sent to the shell, which didn't work well. Now the command is sent >>> verbatim. So the next release should handle it. >> >> There is still the issue with finding the file name argument, which won't >> do the right thing if "gdb" is replaced by a multi-word command. > > I don't understand, can you give an example? Typing 'libtool gdb > ./foo' at the M-x gdb RET prompt work here, if that is what you meant > by multi-word command. For example, the buffer will be called *gud-gdb* instead of *gud-foo*. Also, ./foo is supposed to be expanded, and gdb be started with default-directory set to (file-name-directory "./foo"), but isn't (of course, the latter does not make a difference in this particular case). Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."