applying this to gud.el, deleting gud.elc should solve it for anyone that's interested.
310,311c310 < (cons "-cd" (cons (expand-file-name default-directory) < (cons "-fullname" args)))) --- > (append args (list "-cd" (expand-file-name default-directory) "-fullname" ))) I've tested this running the usual usage gdb <target> gdb <target> <corefile> and with libtool targets libtool gdb <target> <corefile> from M-x gdb and they both appear to work fine with gdb 5.3 and emacs 21.3. Emacs gud.el inserts arguments after "gdb" and before "args" gdb <emacs specific args> <target> which confuses libtool. It would execute as libtool <emacs specific args> gdb <target>. This change will spawn gdb as gdb <target> <emacs specific args> and libtool gdb <target> <emacs specific targets> I'm sure there's some rationale for inserting args instead of appending for gud mode, but the -cd and -fullname options for gdb may be safely appended in the argument list. _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool