bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs gud does not work with libtool


From: Andreas Schwab
Subject: Re: emacs gud does not work with libtool
Date: Sat, 04 Oct 2003 16:43:50 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> Andreas Schwab <address@hidden> writes:
>
>> Simon Josefsson <address@hidden> writes:
>>
>>> Justin Randall <address@hidden> 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, address@hidden
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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]