emacs-pretest-bug
[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: Stefan Monnier
Subject: Re: emacs gud does not work with libtool
Date: 16 Oct 2003 18:13:38 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> As for your patch, I don't understand exactly what it tries to do.
>> It seems that it tries to skip the first argument if it doesn't start with
>> a dash.  This works for `libtool gdb -fullname file' but not for
>> `libtool -foo gdb -fullname file'.

> Ah, yes! You're right it is a stupid idea.

Hmm... I wouldn't call it stupid.  After all, the current code works just
as badly, so your patch is still an improvement.

Maybe we could improve the code by checking that the argument gud believes
to be the executable's filename is indeed a valid file, and if not,
prompt the user.  This way, when gud sees `footool -arg gdb -fullname file',
it won't just blindly take `gdb' as the executable's filename.

WDYT?


        Stefan




reply via email to

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