On Mon, 19 Jan 2009, Ralf Wildenhues wrote:

Well,
 alias lgdb='libtool --mode=execute gdb'

is still shorter than what you suggest, but for reference, here's a
patch that does what you want.

What do the others think, should libtool be lenient here?  I don't have
a strong preference (sure don't mind), the requirement for a mode seems
to have been present for at least 10 years.

10 years already? the only concern I can think of is if this blocks building the program called 'gdb', but hopefully it's build is already using --mode given the 10 years..

Aside, I am not quite sure whether it is portable (to other systems or
debugger versions) to assume that gdb will not be interactive when
started with stdin redirected to /dev/null.

This may be a valid concern for systems which do not support POSIX pty's or /dev/null (primarily Windows).

Bob
======================================
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



Reply via email to